Namespace:
Microsoft.ConfigurationManagement.ApplicationManagement
Assembly:
Microsoft.ConfigurationManagement.ApplicationManagement (in
Microsoft.ConfigurationManagement.ApplicationManagement.dll)
Usage
Visual Basic |
Dim instance As Action
Dim value As IList(Of ContentRef)
value = instance.Contents
instance.Contents = value
|
Syntax
Visual Basic |
<SuppressMessageAttribute("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")> _
<XmlArrayItemAttribute("Content")> _
Public Property Contents As IList(Of ContentRef)
|
C# |
[SuppressMessageAttribute("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
[XmlArrayItemAttribute("Content")]
public IList<ContentRef> Contents { get; set; }
|
C++ |
[SuppressMessageAttribute(L"Microsoft.Usage", L"CA2227:CollectionPropertiesShouldBeReadOnly")]
[XmlArrayItemAttribute(L"Content")]
public:
property IList<ContentRef^>^ Contents {
IList<ContentRef^>^ get ();
void set (IList<ContentRef^>^ value);
}
|
J# |
/** @property */
public IList<ContentRef> get_Contents ()
/** @property */
public void set_Contents (IList<ContentRef> value)
|
JScript |
public function get Contents () : IList<ContentRef>
public function set Contents (value : IList<ContentRef>)
|
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
See Also