IMetaDataImport::GetPermissionSetProps Method

Gets the metadata associated with the System.Security.PermissionSet represented by the specified Permission token.

Syntax

HRESULT GetPermissionSetProps (  
   [in]  mdPermission      pm,  
   [out] DWORD             *pdwAction,
   [out] void const        **ppvPermission,
   [out] ULONG             *pcbPermission  
);  

Parameters

pm
[in] The Permission metadata token that represents the permission set to get the metadata properties for.

pdwAction
[out] A pointer to the permission set.

ppvPermission
[out] A pointer to the binary metadata signature of the permission set.

pcbPermission
[out] The size in bytes of ppvPermission.

Requirements

Platforms: See System Requirements.

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Versions: Available since 1.0

See also