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
'Dichiarazione
<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 | |
---|---|---|
BaseNodeProperties | Initializes a new instance of the BaseNodeProperties class. |
Top
Properties
Name | Description | |
---|---|---|
Name | Gets the name of the node that contains this properties object. | |
Node | Gets the BaseHierarchyNode associated with this properties object. | |
ProjectName | Gets the name of the project that this properties object is associated with. | |
ServerName | Gets the name of the server that contains this properties object. | |
Url | Gets the URL of the node that contains this properties object. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAttributes | Gets an AttributeCollection of the attributes contained by this properties object. | |
GetClassName | Gets the class of the component to display in the properties window. | |
GetComponentName | Gets the name of the component to display in the property window. | |
GetConverter | Gets the TypeConverter associated with this properties object. | |
GetDefaultEvent | Gets the default event for this properties object. | |
GetDefaultProperty | Gets the default property for this properties object. | |
GetEditor | Gets the editor for this properties object. | |
GetEvents() | Gets a collection of event descriptors associated with this properties object. | |
GetEvents(array<Attribute[]) | Gets a collection of event descriptors associated with this properties object that match the specified attributes. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetProperties() | Gets a collection of property descriptors associated with this properties object. | |
GetProperties(array<Attribute[]) | Gets a collection of property descriptors associated with this properties object. | |
GetPropertyOwner | Gets the object that contains the specified property descriptor. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUserContext | Gets the user context of an action. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.