FlavoredProjectBase.IVsUIHierarchy.GetCanonicalName Method
Namespace: Microsoft.VisualStudio.Shell.Flavor
Assemblies: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Syntax
'宣言
Private Function GetCanonicalName ( _
itemid As UInteger, _
<OutAttribute> ByRef pbstrName As String _
) As Integer Implements IVsUIHierarchy.GetCanonicalName
'使用
Dim instance As FlavoredProjectBase
Dim itemid As UInteger
Dim pbstrName As String
Dim returnValue As Integer
returnValue = CType(instance, IVsUIHierarchy).GetCanonicalName(itemid, _
pbstrName)
int IVsUIHierarchy.GetCanonicalName(
uint itemid,
out string pbstrName
)
private:
virtual int GetCanonicalName(
unsigned int itemid,
[OutAttribute] String^% pbstrName
) sealed = IVsUIHierarchy::GetCanonicalName
private abstract GetCanonicalName :
itemid:uint32 *
pbstrName:string byref -> int
private override GetCanonicalName :
itemid:uint32 *
pbstrName:string byref -> int
JScript does not support explicit interface implementations.
Parameters
- itemid
Type: System.UInt32
- pbstrName
Type: System.String%
Return Value
Type: System.Int32
Implements
IVsUIHierarchy.GetCanonicalName(UInt32, String%)
.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.