다음을 통해 공유


Hover.Contents Property

Definition

Gets or sets the content for the hover. Object can either be an array or a single object. If the object is an array the array can contain objects of type MarkedString and String. If the object is not an array it can be of type MarkedString, String, or MarkupContent.

public:
 property System::Object ^ Contents { System::Object ^ get(); void set(System::Object ^ value); };
public:
 property Microsoft::VisualStudio::LanguageServer::Protocol::SumType<Microsoft::VisualStudio::LanguageServer::Protocol::SumType<System::String ^, Microsoft::VisualStudio::LanguageServer::Protocol::MarkedString ^>, cli::array <Microsoft::VisualStudio::LanguageServer::Protocol::SumType<System::String ^, Microsoft::VisualStudio::LanguageServer::Protocol::MarkedString ^>> ^, Microsoft::VisualStudio::LanguageServer::Protocol::MarkupContent ^> Contents { Microsoft::VisualStudio::LanguageServer::Protocol::SumType<Microsoft::VisualStudio::LanguageServer::Protocol::SumType<System::String ^, Microsoft::VisualStudio::LanguageServer::Protocol::MarkedString ^>, cli::array <Microsoft::VisualStudio::LanguageServer::Protocol::SumType<System::String ^, Microsoft::VisualStudio::LanguageServer::Protocol::MarkedString ^>> ^, Microsoft::VisualStudio::LanguageServer::Protocol::MarkupContent ^> get(); void set(Microsoft::VisualStudio::LanguageServer::Protocol::SumType<Microsoft::VisualStudio::LanguageServer::Protocol::SumType<System::String ^, Microsoft::VisualStudio::LanguageServer::Protocol::MarkedString ^>, cli::array <Microsoft::VisualStudio::LanguageServer::Protocol::SumType<System::String ^, Microsoft::VisualStudio::LanguageServer::Protocol::MarkedString ^>> ^, Microsoft::VisualStudio::LanguageServer::Protocol::MarkupContent ^> value); };
[Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.LanguageServer.Protocol.HoverContentsConverter))]
[System.Runtime.Serialization.DataMember(Name="contents")]
public object Contents { get; set; }
[System.Runtime.Serialization.DataMember(Name="contents")]
public Microsoft.VisualStudio.LanguageServer.Protocol.SumType<Microsoft.VisualStudio.LanguageServer.Protocol.SumType<string,Microsoft.VisualStudio.LanguageServer.Protocol.MarkedString>,Microsoft.VisualStudio.LanguageServer.Protocol.SumType<string,Microsoft.VisualStudio.LanguageServer.Protocol.MarkedString>[],Microsoft.VisualStudio.LanguageServer.Protocol.MarkupContent> Contents { get; set; }
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.LanguageServer.Protocol.HoverContentsConverter))>]
[<System.Runtime.Serialization.DataMember(Name="contents")>]
member this.Contents : obj with get, set
[<System.Runtime.Serialization.DataMember(Name="contents")>]
member this.Contents : Microsoft.VisualStudio.LanguageServer.Protocol.SumType<Microsoft.VisualStudio.LanguageServer.Protocol.SumType<string, Microsoft.VisualStudio.LanguageServer.Protocol.MarkedString>, Microsoft.VisualStudio.LanguageServer.Protocol.SumType<string, Microsoft.VisualStudio.LanguageServer.Protocol.MarkedString>[], Microsoft.VisualStudio.LanguageServer.Protocol.MarkupContent> with get, set
Public Property Contents As Object
Public Property Contents As SumType(Of SumType(Of String, MarkedString), SumType(Of String, MarkedString)(), MarkupContent)

Property Value

Attributes
Newtonsoft.Json.JsonConverterAttribute DataMemberAttribute

Applies to