Windows Dev Center

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.

IPropertyValue::GetString method

Gets the string value that is stored in the current IPropertyValue object.

Syntax


HRESULT GetString(
  [out, retval] HSTRING *value
);

Parameters

value [out, retval]

Type: HSTRING*

The string value.

Return value

Type: HRESULT

This method can return one of these values.

Return codeDescription
S_OK

The property value was returned successfully.

E_POINTER

value is NULL.

E_INCORRECT_TYPE

The type of value does not match the Type property.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Windows.Foundation.h

IDL

Windows.Foundation.idl

See also

IPropertyValue
IPropertyValueStatics::CreateString

 

 

Community Additions

Show:
© 2015 Microsoft