PropertyData Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents information about a Windows Management Instrumentation (WMI) property.
public ref class PropertyData : IComparable, IComparable<Microsoft::SqlServer::Management::Sdk::Sfc::ISfcProperty ^>, IEquatable<Microsoft::SqlServer::Management::Sdk::Sfc::ISfcProperty ^>, Microsoft::SqlServer::Management::Sdk::Sfc::ISfcProperty, System::ComponentModel::INotifyPropertyChanged
[System.Serializable]
public class PropertyData : IComparable, IComparable<Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty>, IEquatable<Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty>, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty, System.ComponentModel.INotifyPropertyChanged
[<System.Serializable>]
type PropertyData = class
interface ISfcProperty
interface INotifyPropertyChanged
interface IComparable<ISfcProperty>
interface IEquatable<ISfcProperty>
interface IComparable
Public Class PropertyData
Implements IComparable, IComparable(Of ISfcProperty), IEquatable(Of ISfcProperty), INotifyPropertyChanged, ISfcProperty
- Inheritance
-
PropertyData
- Derived
- Attributes
- Implements
Constructors
PropertyData(ISfcProperty) |
Initializes a new instance of the PropertyData class with the specified property. |
PropertyData(String, Object) |
Initializes a new instance of the PropertyData class with the specified name and value. |
PropertyData(String, Object, Boolean) |
Initializes a new instance of the PropertyData class with the specified name, value, and enabled setting. |
PropertyData(String, Type) |
Initializes a new instance of the PropertyData class with the specified name and type. |
PropertyData(String, Type, Boolean) |
Initializes a new instance of the PropertyData class with the specified name, type, and enabled setting. |
PropertyData(String, Type, Object) |
Initializes a new instance of the PropertyData class with the specified name, type, and value. |
PropertyData(String, Type, Object, Boolean) |
Initializes a new instance of the PropertyData class with the specified name, type, value, and enabled setting. |
Properties
Attributes |
Gets a collection of the attributes for the object. |
Dirty |
Gets or sets the value that indicates whether a PropertyData object has been modified since the last time the data was saved. |
Enabled |
Gets or sets a value that indicates whether the property value is enabled. |
IsNull |
Gets a value that indicates whether the specified data contains a null value. |
Name |
Gets the string value for the property. |
Required |
Gets or sets the required value for the property. |
Type |
Gets the specified type of the property. |
Value |
Gets or sets the current value of the property. |
Writable |
Gets or sets a value that indicates whether the property is writable. |
Methods
AppendAttribute(Attribute[]) |
Specifies the attribute to be used in the property. |
AppendAttribute(AttributeCollection) |
Specifies the attribute to be used in the collection within the property. |
AppendAttribute(IEnumerable<Attribute>) |
Returns an IEnumerator for the attribute. |
CompareTo(ISfcProperty) |
Indicates a specified property to be compared with another object. |
CompareTo(Object) |
Compares the current instance with another object of the same type. |
Equals(ISfcProperty) |
Indicates whether this instance and a specified object are equal. |
OnPropertyChanged(String) |
Raises the PropertyChanged event with the specified string. |
Events
PropertyChanged |
Represents an instance of a changed property. This class cannot be inherited. |