IMetaDataImport::GetPermissionSetProps method (rometadataapi.h)
Gets the metadata associated with the System.Security.PermissionSet represented by the specified Permission token.
Syntax
HRESULT GetPermissionSetProps(
[in] mdPermission tk,
[out] DWORD *pdwAction,
[out] const BYTE **ppvPermission,
[out] ULONG *pcbPermission
);
Parameters
[in] tk
The Permission metadata token that represents the permission set to get the metadata properties for.
[out] pdwAction
A pointer to the permission set.
[out] ppvPermission
A pointer to the binary metadata signature of the permission set.
[out] pcbPermission
The size in bytes of const.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | rometadataapi.h |