Redigera

Dela via


IAccPropServer.GetPropValue(Byte, UInt32, Guid, Object, Int32) Method

Definition

The IAccPropServer and all of its exposed members are part of a managed wrapper for the Component Object Model (COM) IAccPropServer interface.

public:
 void GetPropValue(System::Byte % pIDString, System::UInt32 dwIDStringLen, Guid idProp, [Runtime::InteropServices::Out] System::Object ^ % pvarValue, [Runtime::InteropServices::Out] int % pfHasProp);
public void GetPropValue (ref byte pIDString, uint dwIDStringLen, Guid idProp, out object pvarValue, out int pfHasProp);
abstract member GetPropValue : byte * uint32 * Guid * obj * int -> unit
Public Sub GetPropValue (ByRef pIDString As Byte, dwIDStringLen As UInteger, idProp As Guid, ByRef pvarValue As Object, ByRef pfHasProp As Integer)

Parameters

pIDString
Byte

Contains a string that identifies the property being requested.

dwIDStringLen
UInt32

Specifies the length of the identity string specified by the pIDString parameter.

idProp
Guid

Specifies a GUID indicating the desired property.

pvarValue
Object

Specifies the value of the overridden property. This parameter is valid only if pfHasProp is TRUE. The server must set this to VT_EMPTY if pfHasProp is set to FALSE.

pfHasProp
Int32

Indicates whether the server is supplying a value for the requested property. The server should set this to TRUE if it is returning an overriding property or to FALSE if it is not returning a property (in which case it should also set pvarValue to VT_EMPTY).

Remarks

For more information about IAccPropServer, see IAccPropServer::GetPropValue.

Applies to