Struct.definitionString 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.
Returns a description of the names and types of the elements in the struct.
public:
virtual System::String ^ definitionString();
public virtual string definitionString ();
abstract member definitionString : unit -> string
override this.definitionString : unit -> string
Public Overridable Function definitionString () As String
Returns
A string that contains a definition of the struct.
Remarks
You can use the definitionString method to create a copy of a struct by using the syntax: newStruct = new struct(oldStruct.definitionString());