IVsProfferCommands2.AddNamedCommand 메서드 (Guid%, Guid%, String, UInt32%, String, String, String, String, UInt32, UInt32, UInt32, UInt32, Guid%)
이 API는 .NET Framework 인프라를 지원하며 사용자 코드에서 직접 사용할 수 없습니다.
Microsoft 내부용입니다.
네임스페이스: EnvDTE80
어셈블리: EnvDTE80(EnvDTE80.dll)
구문
‘선언
Sub AddNamedCommand ( _
ByRef pguidPackage As Guid, _
ByRef pguidCmdGroup As Guid, _
pszCmdNameCanonical As String, _
<OutAttribute> ByRef pdwCmdId As UInteger, _
pszCmdNameLocalized As String, _
pszBtnText As String, _
pszCmdTooltip As String, _
pszSatelliteDLL As String, _
dwBitmapResourceId As UInteger, _
dwBitmapImageIndex As UInteger, _
dwCmdFlagsDefault As UInteger, _
cUIContexts As UInteger, _
ByRef rgguidUIContexts As Guid _
)
void AddNamedCommand(
ref Guid pguidPackage,
ref Guid pguidCmdGroup,
string pszCmdNameCanonical,
out uint pdwCmdId,
string pszCmdNameLocalized,
string pszBtnText,
string pszCmdTooltip,
string pszSatelliteDLL,
uint dwBitmapResourceId,
uint dwBitmapImageIndex,
uint dwCmdFlagsDefault,
uint cUIContexts,
ref Guid rgguidUIContexts
)
void AddNamedCommand(
[InAttribute] Guid% pguidPackage,
[InAttribute] Guid% pguidCmdGroup,
[InAttribute] String^ pszCmdNameCanonical,
[OutAttribute] unsigned int% pdwCmdId,
[InAttribute] String^ pszCmdNameLocalized,
[InAttribute] String^ pszBtnText,
[InAttribute] String^ pszCmdTooltip,
[InAttribute] String^ pszSatelliteDLL,
[InAttribute] unsigned int dwBitmapResourceId,
[InAttribute] unsigned int dwBitmapImageIndex,
[InAttribute] unsigned int dwCmdFlagsDefault,
[InAttribute] unsigned int cUIContexts,
[InAttribute] Guid% rgguidUIContexts
)
abstract AddNamedCommand :
pguidPackage:Guid byref *
pguidCmdGroup:Guid byref *
pszCmdNameCanonical:string *
pdwCmdId:uint32 byref *
pszCmdNameLocalized:string *
pszBtnText:string *
pszCmdTooltip:string *
pszSatelliteDLL:string *
dwBitmapResourceId:uint32 *
dwBitmapImageIndex:uint32 *
dwCmdFlagsDefault:uint32 *
cUIContexts:uint32 *
rgguidUIContexts:Guid byref -> unit
function AddNamedCommand(
pguidPackage : Guid,
pguidCmdGroup : Guid,
pszCmdNameCanonical : String,
pdwCmdId : uint,
pszCmdNameLocalized : String,
pszBtnText : String,
pszCmdTooltip : String,
pszSatelliteDLL : String,
dwBitmapResourceId : uint,
dwBitmapImageIndex : uint,
dwCmdFlagsDefault : uint,
cUIContexts : uint,
rgguidUIContexts : Guid
)
매개 변수
- pguidPackage
형식: System.Guid%
- pguidCmdGroup
형식: System.Guid%
- pszCmdNameCanonical
형식: System.String
- pdwCmdId
형식: System.UInt32%
- pszCmdNameLocalized
형식: System.String
- pszBtnText
형식: System.String
- pszCmdTooltip
형식: System.String
- pszSatelliteDLL
형식: System.String
- dwBitmapResourceId
형식: System.UInt32
- dwBitmapImageIndex
형식: System.UInt32
- dwCmdFlagsDefault
형식: System.UInt32
- cUIContexts
형식: System.UInt32
- rgguidUIContexts
형식: System.Guid%
구현
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.