IVsSimpleLibrary2.GetSeparatorStringWithOwnership Method
Returns the string used to separate symbols for this type of Browse Container.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetSeparatorStringWithOwnership ( _
<OutAttribute> ByRef pbstrSeparator As String _
) As Integer
'Usage
Dim instance As IVsSimpleLibrary2
Dim pbstrSeparator As String
Dim returnValue As Integer
returnValue = instance.GetSeparatorStringWithOwnership(pbstrSeparator)
int GetSeparatorStringWithOwnership(
out string pbstrSeparator
)
int GetSeparatorStringWithOwnership(
[OutAttribute] String^% pbstrSeparator
)
abstract GetSeparatorStringWithOwnership :
pbstrSeparator:string byref -> int
function GetSeparatorStringWithOwnership(
pbstrSeparator : String
) : int
Parameters
- pbstrSeparator
Type: System.String%
[out] Returns a 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 vsshell80.idl:
HRESULT IVsSimpleLibrary2::GetSeparatorStringWithOwnership(
[out] BSTR *pszSeparator
);
Returns the scope operator used to separate namespaces, classes and members, such as "::" for Visual C++ and "." for Visual Basic and Visual C#.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.