Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Returns the canonical name of a dependency.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function get_CanonicalName ( _
<OutAttribute> ByRef pbstrCanonicalName As String _
) As Integer
'Usage
Dim instance As IVsBuildDependency
Dim pbstrCanonicalName As String
Dim returnValue As Integer
returnValue = instance.get_CanonicalName(pbstrCanonicalName)
int get_CanonicalName(
out string pbstrCanonicalName
)
int get_CanonicalName(
[OutAttribute] String^% pbstrCanonicalName
)
abstract get_CanonicalName :
pbstrCanonicalName:string byref -> int
function get_CanonicalName(
pbstrCanonicalName : String
) : int
Parameters
- pbstrCanonicalName
Type: System.String%
[out] Pointer to the canonical name of the dependency.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsDependency.get_CanonicalName(String%)
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsBuildDependency::get_CanonicalName(
[out] BSTR *pbstrCanonicalName
);
Dependencies might be anonymous (in other words, might not have a canonical name), in which case the contents of pbstrCanonicalName must be set to nulla null reference (Nothing in Visual Basic).
.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.