Compartilhar via


TBoundProperty<BSTR>.Get(XRValue *) (Compact 2013)

3/28/2014

This method obtains the XRValue object that encapsulates the string value of the property represented by the TBoundProperty<BSTR> class.

Syntax

HRESULT STDMETHODCALLTYPE Get(
XRValue * pValue)

Parameters

  • pValue
    [out] Pointer to an XRValue object that contains the string value of the property.

Return Value

The following table lists the possible return values.

Value

Description

S_OK

The method was successful.

E_POINTER

The pValue pointer is invalid.

Remarks

The member variable of the XRValue object pointer is bstrStringVal.

To obtain the property value after you register the property with a TPropertyBag<Derived> object, use TPropertyBag.GetValue(const WCHAR *,XRValue *).

Requirements

Header

oleauto.h,
XRPropertyBag.h

Library

oleaut32.lib

See Also

Reference

TBoundProperty<BSTR>
TBoundProperty<BSTR>.Get
TBoundProperty<BSTR>.Set(XRValue *)