EN
此内容没有您的语言版本,但有英语版本。

IPropertyDescription::GetPropertyKey method

Gets a structure that acts as a property's unique identifier.

Syntax


HRESULT GetPropertyKey(
  [out]  PROPERTYKEY *pkey
);

Parameters

pkey [out]

Type: PROPERTYKEY*

When this method returns, contains a pointer to a PROPERTYKEY structure.

Return value

Type: HRESULT

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

Remarks

The information retrieved by this method comes from the propertyDescription element in the property's .propdesc file.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Propsys.h

IDL

Propsys.idl

See also

IPropertyDescription
Property Description Schema

 

 

社区附加资源

添加
显示:
© 2014 Microsoft