Share via


BaseNodeProperties Class

A base class that represents the properties of a node that can be displayed in a Visual Studio properties window.

This API is not CLS-compliant. 

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Common.BaseNodeProperties

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)

Syntax

'Declaration
<ComVisibleAttribute(True)> _
<CLSCompliantAttribute(False)> _
Public Class BaseNodeProperties _
    Implements ICustomTypeDescriptor, IVsProvideUserContext
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
public class BaseNodeProperties : ICustomTypeDescriptor, 
    IVsProvideUserContext
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
public ref class BaseNodeProperties : ICustomTypeDescriptor, 
    IVsProvideUserContext
[<ComVisibleAttribute(true)>]
[<CLSCompliantAttribute(false)>]
type BaseNodeProperties =  
    class
        interface ICustomTypeDescriptor
        interface IVsProvideUserContext
    end
public class BaseNodeProperties implements ICustomTypeDescriptor, IVsProvideUserContext

The BaseNodeProperties type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Name Gets the name of the node that contains this properties object.
Protected property Node Gets the BaseHierarchyNode associated with this properties object.
Public property ProjectName Gets the name of the project that this properties object is associated with.
Public property ServerName Gets the name of the server that contains this properties object.
Public property Url Gets the URL of the node that contains this properties object.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetAttributes Gets an AttributeCollection of the attributes contained by this properties object.
Public method GetClassName Gets the class of the component to display in the properties window.
Public method GetComponentName Gets the name of the component to display in the property window.
Public method GetConverter Gets the TypeConverter associated with this properties object.
Public method GetDefaultEvent Gets the default event for this properties object.
Public method GetDefaultProperty Gets the default property for this properties object.
Public method GetEditor Gets the editor for this properties object.
Public method GetEvents() Gets a collection of event descriptors associated with this properties object.
Public method GetEvents(array<Attribute[]) Gets a collection of event descriptors associated with this properties object that match the specified attributes.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetProperties() Gets a collection of property descriptors associated with this properties object.
Public method GetProperties(array<Attribute[]) Gets a collection of property descriptors associated with this properties object.
Public method GetPropertyOwner Gets the object that contains the specified property descriptor.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetUserContext Gets the user context of an action.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

This class may be used to derive a more specific class for other node types. Many methods in this base class return default values that are inaccurate or trivial.

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.TeamFoundation.Common Namespace