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

Definizione

IAccPropServer e tutti i relativi membri esposti sono parte di un wrapper gestito per l'interfaccia IAccPropServer di COM (Component Object Model).

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)

Parametri

pIDString
Byte

Contiene una stringa che identifica la proprietà richiesta.

dwIDStringLen
UInt32

Indica la lunghezza della stringa di identità specificata dal parametro pIDString.

idProp
Guid

Specifica un GUID indicante la proprietà desiderata.

pvarValue
Object

Specifica il valore della proprietà sottoposta a override. Questo parametro è valido solo se pfHasProp è TRUE. Il server deve impostare questo parametro su VT_EMPTY se pfHasProp è impostato su FALSE.

pfHasProp
Int32

Indica se il server fornisce un valore per la proprietà richiesta. Il server deve impostare questo parametro su TRUE se restituisce una proprietà sottoposta a override oppure su FALSE se non restituisce una proprietà. In questo caso, deve anche impostare pvarValue su VT_EMPTY.

Commenti

Per altre informazioni su IAccPropServer, vedere IAccPropServer::GetPropValue.

Si applica a