Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMetaDataImport::GetPermissionSetProps method

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, size_is(, *pcbPermission)] BYTE         const,
  [out]                            ULONG        *pcbPermission
);

Parameters

tk [in]

The Permission metadata token that represents the permission set to get the metadata properties for.

pdwAction [out]

A pointer to the permission set.

const [out]

A pointer to the binary metadata signature of the permission set.

pcbPermission [out]

The size in bytes of const.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

IDL

Rometadataapi.idl

See also

IMetaDataImport

 

 

Show:
© 2017 Microsoft