Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the type of a referenced document in a Web discovery document.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetReferenceTypeName ( _
    <OutAttribute> ByRef pbstrReferenceTypeName As String _
) As Integer
int GetReferenceTypeName(
    out string pbstrReferenceTypeName
)
int GetReferenceTypeName(
    [OutAttribute] String^% pbstrReferenceTypeName
)
abstract GetReferenceTypeName : 
        pbstrReferenceTypeName:string byref -> int 
function GetReferenceTypeName(
    pbstrReferenceTypeName : String
) : int
Parameters
- pbstrReferenceTypeName
 Type: System.String%
 [out] String containing the type of reference made in the document.
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 designer.idl:
HRESULT IDiscoveryClientResult::GetReferenceTypeName(
   [out, retval] BSTR * pbstrReferenceTypeName
);
Usage
Documents returned by a Web discovery process may contain references to other types of documents such as schemas, service descriptions, or other discovery documents. For more information, see DiscoveryClientResult.ReferenceTypeName Property.
.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.