Edit

Bagikan melalui


SemaphoreSecurity.AccessRightType Property

Definition

Gets the enumeration that the SemaphoreSecurity class uses to represent access rights.

public:
 virtual property Type ^ AccessRightType { Type ^ get(); };
public override Type AccessRightType { get; }
member this.AccessRightType : Type
Public Overrides ReadOnly Property AccessRightType As Type

Property Value

A Type object representing the SemaphoreRights enumeration.

Remarks

Classes that derive from the ObjectSecurity class override the AccessRightType property and return the type they use to represent access rights. When you work with arrays or collections that contain multiple types of security objects, use this property to determine the correct enumeration type to use with each security object.

Applies to