FlavoredProjectFactoryBase.IVsProjectFactory.CanCreateProject Method
Namespace: Microsoft.VisualStudio.Shell.Flavor
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaración
Private Function CanCreateProject ( _
fileName As String, _
flags As UInteger, _
<OutAttribute> ByRef canCreate As Integer _
) As Integer Implements IVsProjectFactory.CanCreateProject
'Uso
Dim instance As FlavoredProjectFactoryBase
Dim fileName As String
Dim flags As UInteger
Dim canCreate As Integer
Dim returnValue As Integer
returnValue = CType(instance, IVsProjectFactory).CanCreateProject(fileName, _
flags, canCreate)
int IVsProjectFactory.CanCreateProject(
string fileName,
uint flags,
out int canCreate
)
private:
virtual int CanCreateProject(
String^ fileName,
unsigned int flags,
[OutAttribute] int% canCreate
) sealed = IVsProjectFactory::CanCreateProject
private abstract CanCreateProject :
fileName:string *
flags:uint32 *
canCreate:int byref -> int
private override CanCreateProject :
fileName:string *
flags:uint32 *
canCreate:int byref -> int
JScript does not support explicit interface implementations.
Parameters
- fileName
Type: System.String
- flags
Type: System.UInt32
- canCreate
Type: System.Int32%
Return Value
Type: System.Int32
Implements
IVsProjectFactory.CanCreateProject(String, UInt32, 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.
See Also
Reference
FlavoredProjectFactoryBase Class