Gets or sets the name of the file associated with this element.
Namespace: Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'宣言
Public Overridable Property FileName As String
'使用
Dim instance As CodeDomDesignerData
Dim value As String
value = instance.FileName
instance.FileName = value
public virtual string FileName { get; set; }
public:
virtual property String^ FileName {
String^ get ();
void set (String^ value);
}
public function get FileName () : String
public function set FileName (value : String)
Property Value
Type: System.String
The name of the file associated with this element.
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.
See Also
Reference
Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom Namespace