共用方式為


ValidationRules.NamedElementNameIsNotAllowed 欄位

根據 CSDL 規格,驗證元素名稱與允許的名稱模式相符。

命名空間:  Microsoft.Data.Edm.Validation
組件:  Microsoft.Data.Edm (在 Microsoft.Data.Edm.dll 中)

語法

'宣告
Public Shared ReadOnly NamedElementNameIsNotAllowed As ValidationRule(Of IEdmNamedElement)
'用途
Dim value As ValidationRule(Of IEdmNamedElement)

value = ValidationRules.NamedElementNameIsNotAllowed
public static readonly ValidationRule<IEdmNamedElement> NamedElementNameIsNotAllowed
public:
static initonly ValidationRule<IEdmNamedElement^>^ NamedElementNameIsNotAllowed
static val NamedElementNameIsNotAllowed: ValidationRule<IEdmNamedElement>
public static final var NamedElementNameIsNotAllowed : ValidationRule<IEdmNamedElement>

請參閱

參考

ValidationRules 類別

Microsoft.Data.Edm.Validation 命名空間