Compartilhar via


ParseRequest.FileName Property

Definition

Specifies the name of the source file being parsed.

public:
 property System::String ^ FileName { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ FileName { Platform::String ^ get(); void set(Platform::String ^ value); };
public string FileName { get; set; }
member this.FileName : string with get, set
Public Property FileName As String

Property Value

Returns the string containing the file name that was passed to the ParseRequest class constructor.

Remarks

This property can be used in managing multiple parse requests on multiple buffers. In the default managed package framework implementation of the language service classes, this property is not used.

If the parser must be concerned with the name of the file (for example, the parser handles multiple languages and the extension on the file determines which language to use), then it can access the file name with this property. However, a parser typically ignores this property.

Applies to