共用方式為


FileProperties.Extension Property

This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.

Namespace:  VSLangProj
Assembly:  VSLangProj (in VSLangProj.dll)

Syntax

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

Property Value

Type: String

Remarks

External components can access these properties through the Properties collection for the appropriate Visual Studio automation object. (That is, ProjectItem for project files and folders, Project for projects, and Configuration for configurations). The property names for the members of this type can be used as an indexer into the Properties collection. For more information about accessing project properties through automation, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.

.NET Framework Security

See Also

Reference

FileProperties Interface

VSLangProj Namespace