Bewerken

Delen via


PolicyStatement.AttributeString Property

Definition

Gets a string representation of the attributes of the policy statement.

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

Property Value

A text string representing the attributes of the policy statement.

Examples

The following code example shows how to use the AttributeString property to get the policy statement attributes. This code example is part of a larger example provided for the PolicyStatement class.

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

Remarks

Use this property to get a text string of the attributes currently set for the PolicyStatement.

Applies to