AuthorizationContext.Resource 属性

定义

获取授权其主题的资源。

public:
 property System::Collections::ObjectModel::Collection<System::Security::Claims::Claim ^> ^ Resource { System::Collections::ObjectModel::Collection<System::Security::Claims::Claim ^> ^ get(); };
public System.Collections.ObjectModel.Collection<System.Security.Claims.Claim> Resource { get; }
member this.Resource : System.Collections.ObjectModel.Collection<System.Security.Claims.Claim>
Public ReadOnly Property Resource As Collection(Of Claim)

属性值

表示资源的声明的集合。

注解

该集合通常包括单一元素。

适用于