IAccPropServices.SetPropServer 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.
L’interface IAccPropServices et tous ses membres exposés font partie d’un wrapper managé pour l’interface COM (Component Object Model). IAccPropServices
public:
void SetPropServer(System::Byte % pIDString, System::UInt32 dwIDStringLen, Guid % paProps, int cProps, Accessibility::IAccPropServer ^ pServer, Accessibility::AnnoScope AnnoScope);
public void SetPropServer(ref byte pIDString, uint dwIDStringLen, ref Guid paProps, int cProps, Accessibility.IAccPropServer pServer, Accessibility.AnnoScope AnnoScope);
abstract member SetPropServer : byte * uint32 * Guid * int * Accessibility.IAccPropServer * Accessibility.AnnoScope -> unit
Public Sub SetPropServer (ByRef pIDString As Byte, dwIDStringLen As UInteger, ByRef paProps As Guid, cProps As Integer, pServer As IAccPropServer, AnnoScope As AnnoScope)
Paramètres
- pIDString
- Byte
Identifie l’élément accessible à annoter.
- dwIDStringLen
- UInt32
Spécifie la longueur de la chaîne identifiée par le pIDString paramètre.
- paProps
- Guid
Spécifie un tableau de propriétés à gérer par l’objet de rappel spécifié.
- cProps
- Int32
Spécifie un tableau de propriétés à gérer par l’objet de rappel spécifié.
- pServer
- IAccPropServer
Spécifie l’objet de rappel qui sera appelé lorsqu’un client demande l’une des propriétés substituées.
- AnnoScope
- AnnoScope
Peut être ANNO_THIS, indiquant que l’annotation affecte l’élément accessible indiqué uniquement ; ou ANNO_CONTAINER, indiquant qu’il s’applique à l’élément et à ses enfants d’élément immédiat.
Remarques
Pour plus d’informations sur IAccPropServices, consultez la documentation sur l’annotation dynamique.