Propriedade DataRuleAttribute.Namespace

Obtém ou define o espaço para nome para a regra.

Namespace:  Microsoft.Data.Schema.StaticCodeAnalysis
Assembly:  Microsoft.Data.Schema (em Microsoft.Data.Schema.dll)

Sintaxe

'Declaração
Public Property Namespace As String
    Get
    Private Set
public string Namespace { get; private set; }
public:
property String^ Namespace {
    String^ get ();
    private: void set (String^ value);
}
member Namespace : string with get, private set
function get Namespace () : String
private function set Namespace (value : String)

Valor de propriedade

Tipo: System.String
A string que contém o namespace para a regra, conforme definido no construtor de atributo.

Segurança do .NET Framework

Consulte também

Referência

DataRuleAttribute Classe

Namespace Microsoft.Data.Schema.StaticCodeAnalysis

DataRuleAttribute