FlavoredProject.IVsAggregatableProject.InitializeForOuter Method
Called by the outer project subtype to have the inner project subtype do its initialization work.
Namespace: Microsoft.VisualStudio.Shell.Flavor
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Dichiarazione
Private Function InitializeForOuter ( _
fileName As String, _
location As String, _
name As String, _
flags As UInteger, _
ByRef guidProject As Guid, _
<OutAttribute> ByRef project As IntPtr, _
<OutAttribute> ByRef canceled As Integer _
) As Integer Implements IVsAggregatableProject.InitializeForOuter
'Utilizzo
Dim instance As FlavoredProject
Dim fileName As String
Dim location As String
Dim name As String
Dim flags As UInteger
Dim guidProject As Guid
Dim project As IntPtr
Dim canceled As Integer
Dim returnValue As Integer
returnValue = CType(instance, IVsAggregatableProject).InitializeForOuter(fileName, _
location, name, flags, guidProject, _
project, canceled)
int IVsAggregatableProject.InitializeForOuter(
string fileName,
string location,
string name,
uint flags,
ref Guid guidProject,
out IntPtr project,
out int canceled
)
private:
virtual int InitializeForOuter(
String^ fileName,
String^ location,
String^ name,
unsigned int flags,
Guid% guidProject,
[OutAttribute] IntPtr% project,
[OutAttribute] int% canceled
) sealed = IVsAggregatableProject::InitializeForOuter
private abstract InitializeForOuter :
fileName:string *
location:string *
name:string *
flags:uint32 *
guidProject:Guid byref *
project:IntPtr byref *
canceled:int byref -> int
private override InitializeForOuter :
fileName:string *
location:string *
name:string *
flags:uint32 *
guidProject:Guid byref *
project:IntPtr byref *
canceled:int byref -> int
JScript does not support explicit interface implementations.
Parameters
- fileName
Type: System.String
The project file name of the project to be initialized.
- location
Type: System.String
The path of the project file.
- name
Type: System.String
The name of the project.
- flags
Type: System.UInt32
Flags that describe how a project is to be created or opened. Values are taken from the __VSCREATEPROJFLAGS enumeration.
- guidProject
Type: System.Guid%
[ref] The interface ID of the project. It should be IID_IUnknown().
- project
Type: System.IntPtr%
[out] A pointer to the project.
- canceled
Type: System.Int32%
[out] true if the project was canceled.
Return Value
Type: System.Int32
If the method succeeds, S_OK, otherwise an error code.
Implements
IVsAggregatableProject.InitializeForOuter(String, String, String, UInt32, Guid%, IntPtr%, Int32%)
Remarks
This method calls InitializeForOuter.
.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.