PolicyStatement.Attributes Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
İlke deyiminin özniteliklerini alır veya ayarlar.
public:
property System::Security::Policy::PolicyStatementAttribute Attributes { System::Security::Policy::PolicyStatementAttribute get(); void set(System::Security::Policy::PolicyStatementAttribute value); };
public System.Security.Policy.PolicyStatementAttribute Attributes { get; set; }
member this.Attributes : System.Security.Policy.PolicyStatementAttribute with get, set
Public Property Attributes As PolicyStatementAttribute
Özellik Değeri
İlke deyiminin öznitelikleri.
Örnekler
Aşağıdaki kod örneği, bayrağını ayarlamak için özelliğinin AttributesAll nasıl kullanılacağını gösterir. Bu kod örneği, sınıfı için PolicyStatement sağlanan daha büyük bir örneğin parçasıdır.
policyStatement->Attributes = PolicyStatementAttribute::All;
policyStatement.Attributes = PolicyStatementAttribute.All;
policyStatement.Attributes = PolicyStatementAttribute.All