Compartilhar via


ISchemaReferenceInfo.GetTargetNamespace Method

Retrieves the namespace of the discovered schema.

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

Syntax

'Declaration
Function GetTargetNamespace ( _
    <OutAttribute> ByRef pbstrRef As String _
) As Integer
int GetTargetNamespace(
    out string pbstrRef
)
int GetTargetNamespace(
    [OutAttribute] String^% pbstrRef
)
abstract GetTargetNamespace : 
        pbstrRef:string byref -> int
function GetTargetNamespace(
    pbstrRef : String
) : int

Parameters

  • pbstrRef
    Type: String%

    [out] Pointer to a string containing schema's namespace.

Return Value

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

Remarks

COM Signature

From discoveryservice.idl:

HRESULT ISchemaReferenceInfo::GetTargetNamespace(
   [out, retval] BSTR * pbstrRef
);

.NET Framework Security

See Also

Reference

ISchemaReferenceInfo Interface

Microsoft.VisualStudio.Shell.Interop Namespace