Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether or not the project can be created with the supplied parameters.
Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Protected Overridable Function CanCreateProject ( _
    fileName As String, _
    flags As UInteger _
) As Boolean
protected virtual bool CanCreateProject(
    string fileName,
    uint flags
)
protected:
virtual bool CanCreateProject(
    String^ fileName, 
    unsigned int flags
)
abstract CanCreateProject : 
        fileName:string * 
        flags:uint32 -> bool 
override CanCreateProject : 
        fileName:string * 
        flags:uint32 -> bool 
protected function CanCreateProject(
    fileName : String, 
    flags : uint
) : boolean
Parameters
- fileName
 Type: System.String
 The name of the file.
- flags
 Type: System.UInt32
 Not used.
Return Value
Type: System.Boolean
true if the project file name is valid, otherwise false.
.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.