Megosztás a következőn keresztül:


FieldDescription.Attributes Property

Definition

Gets the Attribute classes that apply to the field. In the case that Prompt(String, String, Collection<FieldDescription>) is being called from the engine, this will contain the set of prompting attributes that are attached to a cmdlet parameter declaration.

public:
 property System::Collections::ObjectModel::Collection<Attribute ^> ^ Attributes { System::Collections::ObjectModel::Collection<Attribute ^> ^ get(); };
public System.Collections.ObjectModel.Collection<Attribute> Attributes { get; }
member this.Attributes : System.Collections.ObjectModel.Collection<Attribute>
Public ReadOnly Property Attributes As Collection(Of Attribute)

Property Value

Applies to