IAccPropServer.GetPropValue(Byte, UInt32, Guid, Object, Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Tous IAccPropServer ses membres exposés font partie d’un wrapper managé pour l’interface COM IAccPropServer (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)
Paramètres
- pIDString
- Byte
Contient une chaîne qui identifie la propriété demandée.
- dwIDStringLen
- UInt32
Spécifie la longueur de la chaîne d’identité spécifiée par le pIDString paramètre.
- idProp
- Guid
Spécifie un GUID indiquant la propriété souhaitée.
- pvarValue
- Object
Spécifie la valeur de la propriété substituée. Ce paramètre est valide uniquement s’il pfHasProp a la valeur TRUE. Le serveur doit définir cette valeur sur VT_EMPTY s’il pfHasProp a la valeur FALSE.
- pfHasProp
- Int32
Indique si le serveur fournit une valeur pour la propriété demandée. Le serveur doit définir cette valeur sur TRUE s’il retourne une propriété de substitution ou false s’il ne retourne pas de propriété (auquel cas il doit également être défini pvarValue sur VT_EMPTY).
Remarques
Pour plus d’informations sur IAccPropServer, consultez IAccPropServer ::GetPropValue.