共用方式為


DesignerDocDataService.HasFile(String) Method

Definition

Determines whether or not there is a DocData with a given fileName.

public:
 bool HasFile(System::String ^ fileName);
public:
 bool HasFile(Platform::String ^ fileName);
bool HasFile(std::wstring const & fileName);
public bool HasFile (string fileName);
member this.HasFile : string -> bool
Public Function HasFile (fileName As String) As Boolean

Parameters

fileName
String

The filename of the requested DocData.

Returns

true if the given file exists in the project, otherwise false.

Applies to