Gets or sets the name of the item.
Namespace: Microsoft.VisualStudio.Package.Automation
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Property Name As String
'使用
Dim instance As OAProjectItem
Dim value As String
value = instance.Name
instance.Name = value
public virtual string Name { get; set; }
public:
virtual property String^ Name {
String^ get ();
void set (String^ value);
}
public function get Name () : String
public function set Name (value : String)
Property Value
Type: System.String
The name of the item (gets the caption, sets the (editable) edit label).
Implements
ProjectItemName()
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.