IVsDependency::get_CanonicalName Method (String^)

 

Returns the canonical name of a dependency.

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

int get_CanonicalName(
	[OutAttribute] String^% pbstrCanonicalName
)

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.

From vsshell.idl:

HRESULT IVsDependency::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 null.

Return to top
Show: