PropertyGroup Class

This class and its members are reserved for internal use and are not intended to be used in your code. Represents a collection of custom properties that can be selected into a PropertyGrid to provide functionality beyond that of the simple reflection normally used to query an object's properties.

This API is not CLS-compliant. 

Inheritance Hierarchy

System..::..Object
  Microsoft.VisualStudio.Data.Tools.Package.Internal..::..PropertyGroup
    Microsoft.VisualStudio.Data.Tools.Package.Internal..::..PropertyGroupWithEvents

Namespace:  Microsoft.VisualStudio.Data.Tools.Package.Internal
Assembly:  Microsoft.VisualStudio.Data.Tools.Package (in Microsoft.VisualStudio.Data.Tools.Package.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
<ComVisibleAttribute(True)> _
Public Class PropertyGroup _
    Implements ICustomTypeDescriptor
'Usage
Dim instance As PropertyGroup
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public class PropertyGroup : ICustomTypeDescriptor
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public ref class PropertyGroup : ICustomTypeDescriptor
[<CLSCompliantAttribute(false)>]
[<ComVisibleAttribute(true)>]
type PropertyGroup =  
    class
        interface ICustomTypeDescriptor
    end
public class PropertyGroup implements ICustomTypeDescriptor

The PropertyGroup type exposes the following members.

Constructors

  Name Description
Public method PropertyGroup Initializes a new instance of the PropertyGroup class.

Top

Properties

  Name Description
Public property ClassNameOverride Gets or sets {insert text here}.
Public property ComponentNameOverride Gets or sets {insert text here}.
Public property DefaultProperty Gets or sets the name of the default property in the collection.
Public property Properties Gets the collection of properties contained within this PropertyGroup.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected method GetClassName
Protected method GetComponentName
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICustomTypeDescriptor..::..GetAttributes
Explicit interface implemetationPrivate method ICustomTypeDescriptor..::..GetClassName
Explicit interface implemetationPrivate method ICustomTypeDescriptor..::..GetComponentName
Explicit interface implemetationPrivate method ICustomTypeDescriptor..::..GetConverter
Explicit interface implemetationPrivate method ICustomTypeDescriptor..::..GetDefaultEvent
Explicit interface implemetationPrivate method ICustomTypeDescriptor..::..GetDefaultProperty This function searches the property list for the property with the same name as the DefaultProperty specified, and returns a property descriptor for it. If no property is found that matches DefaultProperty, a null reference is returned instead.
Explicit interface implemetationPrivate method ICustomTypeDescriptor..::..GetEditor
Explicit interface implemetationPrivate method ICustomTypeDescriptor..::..GetEvents() () () ()
Explicit interface implemetationPrivate method ICustomTypeDescriptor..::..GetEvents(array<Attribute> [] () [] [])
Explicit interface implemetationPrivate method ICustomTypeDescriptor..::..GetProperties() () () ()
Explicit interface implemetationPrivate method ICustomTypeDescriptor..::..GetProperties(array<Attribute> [] () [] []) Rather than passing this function on to the default TypeDescriptor, which would return the actual properties of PropertyGroup, a list is constructed here that contains property descriptors for the elements of the Properties list in the group.
Explicit interface implemetationPrivate method ICustomTypeDescriptor..::..GetPropertyOwner

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.

See Also

Reference

Microsoft.VisualStudio.Data.Tools.Package.Internal Namespace