PropertyInfo.IsRequired Property

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

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

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
If the property is a required property, true; otherwise, false.

See Also

Reference

PropertyInfo Class

PropertyInfo Members

Microsoft.Office.Server.UserProfiles Namespace