FileCodeGroup.AttributeString プロパティ

定義

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

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

プロパティ値

String

常に null

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

if ( fileCodeGroup->AttributeString != nullptr )
{
   throw gcnew NullReferenceException(
      L"The AttributeString property should be null." );
}
if (fileCodeGroup.AttributeString != null)
{
    throw new NullReferenceException(
        "The AttributeString property should be null.");
}
If (Not fileCodeGroup.AttributeString Is Nothing) Then
    Throw New NullReferenceException( _
        "AttributeString property is not empty")
End If

注釈

FileCodeGroup は使用 AttributeStringしないので、このプロパティは常に nullです。

適用対象