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 there is a DocData with a given fileName.
Namespace: Microsoft.VisualStudio.Shell.Design.Serialization
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Public Function HasFile ( _
fileName As String _
) As Boolean
public bool HasFile(
string fileName
)
public:
bool HasFile(
String^ fileName
)
member HasFile :
fileName:string -> bool
public function HasFile(
fileName : String
) : boolean
Parameters
- fileName
Type: System.String
The filename of the requested DocData.
Return Value
Type: System.Boolean
true if the given file exists in the project, 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.