Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaración
Function AddItemWithSpecific ( _
itemidLoc As UInteger, _
dwAddItemOperation As VSADDITEMOPERATION, _
pszItemName As String, _
cFilesToOpen As UInteger, _
rgpszFilesToOpen As String(), _
hwndDlgOwner As IntPtr, _
grfEditorFlags As UInteger, _
ByRef rguidEditorType As Guid, _
pszPhysicalView As String, _
ByRef rguidLogicalView As Guid, _
<OutAttribute> pResult As VSADDRESULT() _
) As Integer
'Uso
Dim instance As IVsProject4
Dim itemidLoc As UInteger
Dim dwAddItemOperation As VSADDITEMOPERATION
Dim pszItemName As String
Dim cFilesToOpen As UInteger
Dim rgpszFilesToOpen As String()
Dim hwndDlgOwner As IntPtr
Dim grfEditorFlags As UInteger
Dim rguidEditorType As Guid
Dim pszPhysicalView As String
Dim rguidLogicalView As Guid
Dim pResult As VSADDRESULT()
Dim returnValue As Integer
returnValue = instance.AddItemWithSpecific(itemidLoc, _
dwAddItemOperation, pszItemName, _
cFilesToOpen, rgpszFilesToOpen, _
hwndDlgOwner, grfEditorFlags, rguidEditorType, _
pszPhysicalView, rguidLogicalView, _
pResult)
int AddItemWithSpecific(
uint itemidLoc,
VSADDITEMOPERATION dwAddItemOperation,
string pszItemName,
uint cFilesToOpen,
string[] rgpszFilesToOpen,
IntPtr hwndDlgOwner,
uint grfEditorFlags,
ref Guid rguidEditorType,
string pszPhysicalView,
ref Guid rguidLogicalView,
VSADDRESULT[] pResult
)
int AddItemWithSpecific(
[InAttribute] unsigned int itemidLoc,
[InAttribute] VSADDITEMOPERATION dwAddItemOperation,
[InAttribute] String^ pszItemName,
[InAttribute] unsigned int cFilesToOpen,
[InAttribute] array<String^>^ rgpszFilesToOpen,
[InAttribute] IntPtr hwndDlgOwner,
[InAttribute] unsigned int grfEditorFlags,
[InAttribute] Guid% rguidEditorType,
[InAttribute] String^ pszPhysicalView,
[InAttribute] Guid% rguidLogicalView,
[OutAttribute] array<VSADDRESULT>^ pResult
)
abstract AddItemWithSpecific :
itemidLoc:uint32 *
dwAddItemOperation:VSADDITEMOPERATION *
pszItemName:string *
cFilesToOpen:uint32 *
rgpszFilesToOpen:string[] *
hwndDlgOwner:IntPtr *
grfEditorFlags:uint32 *
rguidEditorType:Guid byref *
pszPhysicalView:string *
rguidLogicalView:Guid byref *
pResult:VSADDRESULT[] byref -> int
function AddItemWithSpecific(
itemidLoc : uint,
dwAddItemOperation : VSADDITEMOPERATION,
pszItemName : String,
cFilesToOpen : uint,
rgpszFilesToOpen : String[],
hwndDlgOwner : IntPtr,
grfEditorFlags : uint,
rguidEditorType : Guid,
pszPhysicalView : String,
rguidLogicalView : Guid,
pResult : VSADDRESULT[]
) : int
Parameters
- itemidLoc
Type: System.UInt32
- dwAddItemOperation
Type: Microsoft.VisualStudio.Shell.Interop.VSADDITEMOPERATION
- pszItemName
Type: System.String
- cFilesToOpen
Type: System.UInt32
- rgpszFilesToOpen
Type: array<System.String[]
- hwndDlgOwner
Type: System.IntPtr
- grfEditorFlags
Type: System.UInt32
- rguidEditorType
Type: System.Guid%
- pszPhysicalView
Type: System.String
- rguidLogicalView
Type: System.Guid%
- pResult
Type: array<Microsoft.VisualStudio.Shell.Interop.VSADDRESULT[]
Return Value
Type: System.Int32
Implements
.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.