FlavoredProjectBase.IVsHierarchy.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 name As String _
) As Integer Implements IVsHierarchy.GetCanonicalName
'使用
Dim instance As FlavoredProjectBase
Dim itemId As UInteger
Dim name As String
Dim returnValue As Integer
returnValue = CType(instance, IVsHierarchy).GetCanonicalName(itemId, _
name)
int IVsHierarchy.GetCanonicalName(
uint itemId,
out string name
)
private:
virtual int GetCanonicalName(
unsigned int itemId,
[OutAttribute] String^% name
) sealed = IVsHierarchy::GetCanonicalName
private abstract GetCanonicalName :
itemId:uint32 *
name:string byref -> int
private override GetCanonicalName :
itemId:uint32 *
name:string byref -> int
JScript does not support explicit interface implementations.
Parameters
- itemId
Type: System.UInt32
- name
Type: System.String%
Return Value
Type: System.Int32
Implements
IVsHierarchy.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.