共用方式為


VCCodeFunction.Attributes Property

Gets a collection of all of the attributes for the parent object.

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

Syntax

'宣告
ReadOnly Property Attributes As CodeElements
    Get
CodeElements Attributes { get; }
property CodeElements^ Attributes {
    CodeElements^ get ();
}
abstract Attributes : CodeElements
function get Attributes () : CodeElements

Property Value

Type: EnvDTE.CodeElements
A CodeElements collection.

.NET Framework Security

See Also

Reference

VCCodeFunction Interface

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

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