ActivityCodeDomSerializationManager.SetName(Object, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the name of the specified existing Object.
public:
virtual void SetName(System::Object ^ instance, System::String ^ name);
public void SetName (object instance, string name);
abstract member SetName : obj * string -> unit
override this.SetName : obj * string -> unit
Public Sub SetName (instance As Object, name As String)
Parameters
Implements
Remarks
SetName provides an indirect reference to the SerializationManager method of the same name.
An exception is thrown if you try to rename an existing object or if you try to give a new object a name that is already taken. In addition, an exception is thrown if you do not pass in an existing object to the method.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET