IVsResourceManager2.AnnotateIDIfNecessary Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
‘선언
Function AnnotateIDIfNecessary ( _
szId As String, _
ByRef guidPackage As Guid, _
szDllPath As String, _
<OutAttribute> ByRef pbstrAnnotatedId As String _
) As Integer
‘사용 방법
Dim instance As IVsResourceManager2
Dim szId As String
Dim guidPackage As Guid
Dim szDllPath As String
Dim pbstrAnnotatedId As String
Dim returnValue As Integer
returnValue = instance.AnnotateIDIfNecessary(szId, _
guidPackage, szDllPath, pbstrAnnotatedId)
int AnnotateIDIfNecessary(
string szId,
ref Guid guidPackage,
string szDllPath,
out string pbstrAnnotatedId
)
int AnnotateIDIfNecessary(
[InAttribute] String^ szId,
[InAttribute] Guid% guidPackage,
[InAttribute] String^ szDllPath,
[OutAttribute] String^% pbstrAnnotatedId
)
abstract AnnotateIDIfNecessary :
szId:string *
guidPackage:Guid byref *
szDllPath:string *
pbstrAnnotatedId:string byref -> int
function AnnotateIDIfNecessary(
szId : String,
guidPackage : Guid,
szDllPath : String,
pbstrAnnotatedId : String
) : int
Parameters
- szId
Type: System.String
- guidPackage
Type: System.Guid%
- szDllPath
Type: System.String
- pbstrAnnotatedId
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.