共用方式為


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
int GetSeparatorStringWithOwnership(
    out string pbstrSeparator
)
int GetSeparatorStringWithOwnership(
    [OutAttribute] String^% pbstrSeparator
)
abstract GetSeparatorStringWithOwnership : 
        pbstrSeparator:string byref -> int
function GetSeparatorStringWithOwnership(
    pbstrSeparator : String
) : int

Parameters

  • pbstrSeparator
    Type: String%

    [out] Returns a string containing the language specific scope operator.

Return Value

Type: 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

See Also

Reference

IVsSimpleLibrary2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace