Compartilhar via


FileCodeGroup.AttributeString Propriedade

Definição

Obtém uma representação de cadeia de caracteres dos atributos da declaração de política para o grupo de códigos.

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

Valor da propriedade

Sempre null.

Exemplos

O código a seguir mostra o uso da AttributeString propriedade para obter os atributos do grupo de códigos. Este exemplo de código faz parte de um exemplo maior fornecido para a FileCodeGroup classe .

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

Comentários

FileCodeGroup não usa AttributeString, portanto, essa propriedade é sempre null.

Aplica-se a