Share via


VCCodeEvent.File Property

Gets the file in which the object is declared.

Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

Syntax

'Declaration
ReadOnly Property File As String
string File { get; }
property String^ File {
    String^ get ();
}
abstract File : string with get
function get File () : String

Property Value

Type: String
The file in which the object is declared.

.NET Framework Security

See Also

Reference

VCCodeEvent Interface

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples