Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Svg Namespace / GcSvgDocument Class / GetPrefixByNamespace Method
The namespace to search for.

In This Topic
    GetPrefixByNamespace Method
    In This Topic
    Searches for a prefix associated with a specified namespace.
    Syntax
    'Declaration
     
    Public Function GetPrefixByNamespace( _
       ByVal ns As System.String _
    ) As System.String
    public System.string GetPrefixByNamespace( 
       System.string ns
    )

    Parameters

    ns
    The namespace to search for.

    Return Value

    The prefix associated with the specified namespace, or a null reference (Nothing in Visual Basic).
    Exceptions
    ExceptionDescription
    The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.
    See Also