다음을 통해 공유


PropertyInfo.IsRequired Property

Gets or sets a value that specifies whether the property is required.

Namespace:  [UserProfileService Web service]
Web service reference: http://Site/_vti_bin/UserProfileService.asmx

Syntax

'Declaration
Public Property IsRequired As Boolean
    Get
    Set
'Usage
Dim instance As PropertyInfo
Dim value As Boolean

value = instance.IsRequired

instance.IsRequired = value
public bool IsRequired { get; set; }

Property Value

Type: System.Boolean
true if the property is required; otherwise, false.

Remarks

The default value is false.

See Also

Reference

PropertyInfo Class

PropertyInfo Members

UserProfileService Web Service