XamlTypeName.ToString Method
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.
Converts the value of this XamlTypeName to its equivalent string representation.
ToString() |
Converts the value of this XamlTypeName to its equivalent string representation. |
ToString(INamespacePrefixLookup) |
Converts the value of this XamlTypeName to its equivalent string representation, which can be used in markup syntax for an object element usage of a type. |
ToString(IList<XamlTypeName>, INamespacePrefixLookup) |
Converts the value of this XamlTypeName to its equivalent string representation, which can be used in markup syntax for an object element usage of multiple types. |
Converts the value of this XamlTypeName to its equivalent string representation.
public:
override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String
Returns
The equivalent string representation of this XamlTypeName.
Remarks
This signature is equivalent to calling ToString(INamespacePrefixLookup), passing null
for prefixLookup
. s
Applies to
.NET Framework 4.8.1 en andere versies
Product | Versies |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
Converts the value of this XamlTypeName to its equivalent string representation, which can be used in markup syntax for an object element usage of a type.
public:
System::String ^ ToString(System::Xaml::INamespacePrefixLookup ^ prefixLookup);
public string ToString (System.Xaml.INamespacePrefixLookup prefixLookup);
override this.ToString : System.Xaml.INamespacePrefixLookup -> string
Public Function ToString (prefixLookup As INamespacePrefixLookup) As String
Parameters
- prefixLookup
- INamespacePrefixLookup
A service reference for prefix lookup.
Returns
A prefixed usage string.
Exceptions
Applies to
.NET Framework 4.8.1 en andere versies
Product | Versies |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
Converts the value of this XamlTypeName to its equivalent string representation, which can be used in markup syntax for an object element usage of multiple types.
public:
static System::String ^ ToString(System::Collections::Generic::IList<System::Xaml::Schema::XamlTypeName ^> ^ typeNameList, System::Xaml::INamespacePrefixLookup ^ prefixLookup);
public static string ToString (System.Collections.Generic.IList<System.Xaml.Schema.XamlTypeName> typeNameList, System.Xaml.INamespacePrefixLookup prefixLookup);
static member ToString : System.Collections.Generic.IList<System.Xaml.Schema.XamlTypeName> * System.Xaml.INamespacePrefixLookup -> string
Public Shared Function ToString (typeNameList As IList(Of XamlTypeName), prefixLookup As INamespacePrefixLookup) As String
Parameters
- typeNameList
- IList<XamlTypeName>
A list of types.
- prefixLookup
- INamespacePrefixLookup
A service reference for prefix lookup.
Returns
A concatenated string of all type results.
Exceptions
prefixLookup
or typeNameList
is null
.
Applies to
.NET Framework 4.8.1 en andere versies
Product | Versies |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
Feedback over .NET
.NET is een opensourceproject. Selecteer een koppeling om feedback te geven: