ITextSnapshot.ContentType, propriété
Obtient IContentType d'TextBuffer lorsque cet instantané était actuel.
Espace de noms : Microsoft.VisualStudio.Text
Assembly : Microsoft.VisualStudio.Text.Data (dans Microsoft.VisualStudio.Text.Data.dll)
Syntaxe
'Déclaration
ReadOnly Property ContentType As IContentType
IContentType ContentType { get; }
property IContentType^ ContentType {
IContentType^ get ();
}
abstract ContentType : IContentType with get
function get ContentType () : IContentType
Valeur de propriété
Type : Microsoft.VisualStudio.Utilities.IContentType
IContentType .
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.