IVsDebuggableProjectCfg.get_CanonicalName Method
Returns a configuration's canonical name.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣言
Function get_CanonicalName ( _
<OutAttribute> ByRef pbstrCanonicalName As String _
) As Integer
'使用
Dim instance As IVsDebuggableProjectCfg
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
)
function get_CanonicalName(
pbstrCanonicalName : String
) : int
Parameters
pbstrCanonicalName
Type: System.String%[out] Pointer to the canonical name of the configuration such as Debug or Release.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsProjectCfg.get_CanonicalName(String%)
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsDebuggableProjectCfg::get_CanonicalName(
[out] BSTR *pbstrCanonicalName
);
Permissions
- 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.
See Also
Reference
IVsDebuggableProjectCfg Interface