Share via


ObjectPropertyProvider Class

Represents the object that should be used to provide properties in the class.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Data.ObjectPropertyProvider

Namespace:  Microsoft.SqlServer.Management.Data
Assembly:  Microsoft.SqlServer.Management.SDK.SqlStudio (in Microsoft.SqlServer.Management.SDK.SqlStudio.dll)

Syntax

'Declaration
Public Class ObjectPropertyProvider _
    Implements ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged, ISfcPropertySet
'Usage
Dim instance As ObjectPropertyProvider
public class ObjectPropertyProvider : ISfcPropertyProvider, 
    ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged, ISfcPropertySet
public ref class ObjectPropertyProvider : ISfcPropertyProvider, 
    ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged, ISfcPropertySet
type ObjectPropertyProvider =  
    class
        interface ISfcPropertyProvider
        interface ISfcNotifyPropertyMetadataChanged
        interface INotifyPropertyChanged
        interface ISfcPropertySet
    end
public class ObjectPropertyProvider implements ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged, ISfcPropertySet

The ObjectPropertyProvider type exposes the following members.

Constructors

  Name Description
Public method ObjectPropertyProvider() Initializes a new instance of the ObjectPropertyProvider class with the default property values.
Public method ObjectPropertyProvider(Object) Initializes a new instance of the ObjectPropertyProvider class with the specified data object.
Public method ObjectPropertyProvider(Type) Initializes a new instance of the ObjectPropertyProvider class with the specified type.
Public method ObjectPropertyProvider(Object, IObjectPropertyFilter) Initializes a new instance of the ObjectPropertyProvider class with the specified data object and filter.
Public method ObjectPropertyProvider(Type, IObjectPropertyFilter) Initializes a new instance of the ObjectPropertyProvider class with the specified type and filter.
Public method ObjectPropertyProvider(Type, String) Initializes a new instance of the ObjectPropertyProvider class with the specified type and prefix.
Public method ObjectPropertyProvider(Object, String, IObjectPropertyFilter) Initializes a new instance of the ObjectPropertyProvider class with the specified data object, prefix, and filter.
Public method ObjectPropertyProvider(Type, String, IObjectPropertyFilter) Initializes a new instance of the ObjectPropertyProvider class with the specified type, prefix, and filter.

Top

Properties

  Name Description
Public property DataObject Gets or sets the data value of the current DataObject object.
Public property Properties Gets the properties of the current data object in the list.
Public property Type Gets the type of the property that provides data.

Top

Methods

  Name Description
Protected method AttachPropertyTo Adds a property attachment to the object.
Public method AttachTo Attaches an object to the ObjectPropertyProvider.
Public method Commit() Commits the property that provides data.
Public method Commit(Object) Provides specified data for the object to use.
Public method Contains(String) Retrieves a value that indicates whether the specified string object occurs in this string.
Public method Contains(ISfcProperty) Retrieves a value that indicates a specified value of the item in the object property.
Public method Contains<T>(String) Retrieves a string value that indicates the object property.
Public method EnumProperties Specifies the value of the properties.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetPropertySet Provides a method to retrieve data for the property.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnPropertyChanged Raises the PropertyChanged event that uses the name of the property that changed.
Protected method OnPropertyMetadataChanged Retrieves a string that represents the current object.
Protected method ResolvePropertyMismatch Looks up the specified property that does not match the object.
Public method ToString (Inherited from Object.)
Public method TryGetProperty Retrieves a value that indicates the property to get. This class cannot be inherited.
Public method TryGetPropertyValue(String, Object%) Retrieves a value that indicates the property value to get. This class cannot be inherited.
Public method TryGetPropertyValue<T>(String, T%) Retrieves a value that indicates the property value to get in the object property. This class cannot be inherited.

Top

Events

  Name Description
Public event PropertyChanged Occurs when a property value changes. This class cannot be inherited.
Public event PropertyMetadataChanged Occurs when the metadata of the list changes.

Top

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.