Compartir a través de


FileCodeGroup.AttributeString Propiedad

Definición

Obtiene una representación en forma de cadena de los atributos de la instrucción de directiva del grupo de código.

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 de propiedad

Siempre es null.

Ejemplos

En el código siguiente se muestra el uso de la AttributeString propiedad para obtener los atributos del grupo de código. Este ejemplo de código es parte de un ejemplo más grande proporcionado para la clase 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

Comentarios

FileCodeGroup no usa AttributeString, por lo que esta propiedad siempre nulles .

Se aplica a