AnnotationResource.Contents 屬性

定義

取得定義這個資源內容的 XmlElement 物件集合。

public:
 property System::Collections::ObjectModel::Collection<System::Xml::XmlElement ^> ^ Contents { System::Collections::ObjectModel::Collection<System::Xml::XmlElement ^> ^ get(); };
public System.Collections.ObjectModel.Collection<System.Xml.XmlElement> Contents { get; }
member this.Contents : System.Collections.ObjectModel.Collection<System.Xml.XmlElement>
Public ReadOnly Property Contents As Collection(Of XmlElement)

屬性值

定義這個資源內容的 XmlElement 物件集合。

備註

Contents 永遠不會傳 null 回 ;不過,如果資源不包含任何內容, XmlElement 則集合可能是空的。

適用於