Partilhar via


FieldValidationRules.Items Field

Indicates an array of System.Object instances to which the validation rules apply.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim instance As FieldValidationRules
Dim value As Object()

value = instance.Items

instance.Items = value

Syntax

'Declaration
<XmlChoiceIdentifierAttribute("ItemsElementName")> _
<XmlElementAttribute("PredefinedTextValidationRule", GetType(TextValidationRuleReferenceType))> _
<XmlElementAttribute("PredefinedIntegralValidationRule", GetType(IntegralValidationRuleReferenceType))> _
<XmlElementAttribute("TextValidationRule", GetType(TextValidationRuleType))> _
<XmlElementAttribute("IntegralValidationRule", GetType(IntegralValidationRuleType))> _
Public Items As Object()
[XmlChoiceIdentifierAttribute("ItemsElementName")] 
[XmlElementAttribute("PredefinedTextValidationRule", typeof(TextValidationRuleReferenceType))] 
[XmlElementAttribute("PredefinedIntegralValidationRule", typeof(IntegralValidationRuleReferenceType))] 
[XmlElementAttribute("TextValidationRule", typeof(TextValidationRuleType))] 
[XmlElementAttribute("IntegralValidationRule", typeof(IntegralValidationRuleType))] 
public Object[] Items
[XmlChoiceIdentifierAttribute(L"ItemsElementName")] 
[XmlElementAttribute(L"PredefinedTextValidationRule", typeof(TextValidationRuleReferenceType))] 
[XmlElementAttribute(L"PredefinedIntegralValidationRule", typeof(IntegralValidationRuleReferenceType))] 
[XmlElementAttribute(L"TextValidationRule", typeof(TextValidationRuleType))] 
[XmlElementAttribute(L"IntegralValidationRule", typeof(IntegralValidationRuleType))] 
public:
array<Object^>^ Items
/** @attribute XmlChoiceIdentifierAttribute("ItemsElementName") */ 
/** @attribute XmlElementAttribute("PredefinedTextValidationRule", Microsoft.ConfigurationManagement.AdminConsole.TextValidationRuleReferenceType) */ 
/** @attribute XmlElementAttribute("PredefinedIntegralValidationRule", Microsoft.ConfigurationManagement.AdminConsole.IntegralValidationRuleReferenceType) */ 
/** @attribute XmlElementAttribute("TextValidationRule", Microsoft.ConfigurationManagement.AdminConsole.TextValidationRuleType) */ 
/** @attribute XmlElementAttribute("IntegralValidationRule", Microsoft.ConfigurationManagement.AdminConsole.IntegralValidationRuleType) */ 
public Object[] Items
XmlChoiceIdentifierAttribute("ItemsElementName") 
XmlElementAttribute("PredefinedTextValidationRule", Microsoft.ConfigurationManagement.AdminConsole.TextValidationRuleReferenceType) 
XmlElementAttribute("PredefinedIntegralValidationRule", Microsoft.ConfigurationManagement.AdminConsole.IntegralValidationRuleReferenceType) 
XmlElementAttribute("TextValidationRule", Microsoft.ConfigurationManagement.AdminConsole.TextValidationRuleType) 
XmlElementAttribute("IntegralValidationRule", Microsoft.ConfigurationManagement.AdminConsole.IntegralValidationRuleType) 
public var Items : Object[]

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

FieldValidationRules Class
FieldValidationRules Members
Microsoft.ConfigurationManagement.AdminConsole Namespace