ITextViewLine.GetAdornmentBounds(Object) 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.
Calcule les limites de l'ornement spécifié.
public:
Nullable<Microsoft::VisualStudio::Text::Formatting::TextBounds> GetAdornmentBounds(System::Object ^ identityTag);
public Microsoft.VisualStudio.Text.Formatting.TextBounds? GetAdornmentBounds (object identityTag);
abstract member GetAdornmentBounds : obj -> Nullable<Microsoft.VisualStudio.Text.Formatting.TextBounds>
Public Function GetAdornmentBounds (identityTag As Object) As Nullable(Of TextBounds)
Paramètres
- identityTag
- Object
IAdornmentElement. identityTag de l’ornement dont les limites doivent être calculées.
Retours
TextBoundsStructure si cette ligne contient un ornement avec le spécifié identityTag , sinon null.