次の方法で共有


PolicyStatement.AttributeString プロパティ

定義

ポリシー ステートメントの属性の文字列形式を取得します。

public:
 property System::String ^ AttributeString { System::String ^ get(); };
public string AttributeString { get; }
member this.AttributeString : string
Public ReadOnly Property AttributeString As String

プロパティ値

ポリシー ステートメントの属性を表す文字列。

次のコード例は、 プロパティを使用 AttributeString してポリシー ステートメント属性を取得する方法を示しています。 このコード例は、PolicyStatement クラスのために提供されている大規模な例の一部です。

if ( policyStatement->AttributeString != nullptr )
{
   attributeString = policyStatement->AttributeString;
}
if (policyStatement.AttributeString != null)
{
    attributeString = policyStatement.AttributeString;
}
If (Not policyStatement.AttributeString Is Nothing) Then
    attributeString = policyStatement.AttributeString
End If

注釈

このプロパティを使用して、 に対して現在設定されている属性のテキスト文字列を PolicyStatement取得します。

適用対象