IAssemblyName::GetProperty method (winsxs.h)

The GetProperty method gets the value of a name-value pair in the assembly name.

Syntax

HRESULT GetProperty(
  [in]      DWORD   PropertyId,
  [out]     LPVOID  pvProperty,
  [in, out] LPDWORD pcbProperty
);

Parameters

[in] PropertyId

A property ID that represents the name-value pair. Valid property IDs are ASM_NAME enumeration values.

[out] pvProperty

A pointer to a buffer that receives the value of the name-value pair.

[in, out] pcbProperty

The size in bytes of the buffer specified by pvProperty. The value is zero if this property is not set.

Return value

This method can return one of these values.

Return value Description
S_OK
The method succeeded.
S_FALSE
The method did not succeed.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header winsxs.h
DLL Sxs.dll

See also

IAssemblyName