Compartir a través de


IVsLibrary.GetSeparatorString Method

Returns the string used to separate symbols for this type of Browse Container.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaración
Function GetSeparatorString ( _
    pszSeparator As String() _
) As Integer
'Uso
Dim instance As IVsLibrary
Dim pszSeparator As String()
Dim returnValue As Integer

returnValue = instance.GetSeparatorString(pszSeparator)
int GetSeparatorString(
    string[] pszSeparator
)
int GetSeparatorString(
    array<String^>^ pszSeparator
)
abstract GetSeparatorString : 
        pszSeparator:string[] -> int 
function GetSeparatorString(
    pszSeparator : String[]
) : int

Parameters

  • pszSeparator
    Type: array<System.String[]
    [out] Pointer to a null-terminated string containing the language specific scope operator.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsLibrary::GetSeparatorString(
   LPCWSTR *pszSeparator
);

Returns the scope operator used to separate namespaces, classes and members, such as "::" for Visual C++ and "." for Visual Basic and Visual C#.

Nota

The string is created by the IVsLibrary object and the string must persist for the life of the IVsLibrary object.

If you are implementing this interface in managed code and you need to have the string disposed of by the caller, implement the IVsCoTaskMemFreeMyStrings interface on the IVsLibrary interface.

.NET Framework Security

See Also

Reference

IVsLibrary Interface

IVsLibrary Members

Microsoft.VisualStudio.Shell.Interop Namespace