FlavoredProjectBase.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
'宣言
Protected Overridable Function GetCanonicalName ( _
itemId As UInteger, _
<OutAttribute> ByRef name As String _
) As Integer
'使用
Dim itemId As UInteger
Dim name As String
Dim returnValue As Integer
returnValue = Me.GetCanonicalName(itemId, _
name)
protected virtual int GetCanonicalName(
uint itemId,
out string name
)
protected:
virtual int GetCanonicalName(
unsigned int itemId,
[OutAttribute] String^% name
)
abstract GetCanonicalName :
itemId:uint32 *
name:string byref -> int
override GetCanonicalName :
itemId:uint32 *
name:string byref -> int
protected function GetCanonicalName(
itemId : uint,
name : String
) : int
Parameters
- itemId
Type: System.UInt32
- name
Type: System.String%
Return Value
Type: System.Int32
.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.