Compartilhar via


IVsLibrary.GetSeparatorString(String[]) Method

Definition

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

public:
 int GetSeparatorString(cli::array <System::String ^> ^ pszSeparator);
public:
 int GetSeparatorString(Platform::Array <Platform::String ^> ^ pszSeparator);
int GetSeparatorString(std::Array <std::wstring const &> const & pszSeparator);
public int GetSeparatorString (string[] pszSeparator);
abstract member GetSeparatorString : string[] -> int
Public Function GetSeparatorString (pszSeparator As String()) As Integer

Parameters

pszSeparator
String[]

[out] Pointer to a null-terminated string containing the language specific scope operator.

Returns

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#.

Note

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.

Applies to