United States (English)
Sign in
Home
Library
Learn
Samples
Downloads
Support
Community
Forums
MSDN Library
.NET Development
.NET Framework 4.5
.NET Framework Class Library
System.Xml Namespaces
System.Xml.Linq
XAttribute Class
XAttribute Type Conversions
Explicit Conversion Operators
This topic has not yet been rated
-
Rate this topic
XAttribute Type Conversions
.NET Framework 4.5
Other Versions
.NET Framework 4
.NET Framework 3.5
Silverlight
Operators
Name
Description
Explicit
(XAttribute to DateTime)
Cast the value of this
XAttribute
to a
DateTime
.
Explicit
(XAttribute to Nullable
<
DateTime
>
)
Cast the value of this
XAttribute
to a
Nullable
<
T
>
of
DateTime
.
Explicit
(XAttribute to Nullable
<
Decimal
>
)
Cast the value of this
XAttribute
to a
Nullable
<
T
>
of
Decimal
.
Explicit
(XAttribute to Nullable
<
Double
>
)
Cast the value of this
XAttribute
to a
Nullable
<
T
>
of
Double
.
Explicit
(XAttribute to Decimal)
Cast the value of this
XAttribute
to a
Decimal
.
Explicit
(XAttribute to DateTimeOffset)
Cast the value of this
XAttribute
to a
DateTimeOffset
.
Explicit
(XAttribute to Guid)
Cast the value of this
XAttribute
to a
Guid
.
Explicit
(XAttribute to Nullable
<
Guid
>
)
Cast the value of this
XAttribute
to a
Nullable
<
T
>
of
Guid
.
Explicit
(XAttribute to Nullable
<
TimeSpan
>
)
Cast the value of this
XAttribute
to a
Nullable
<
T
>
of
TimeSpan
.
Explicit
(XAttribute to Nullable
<
DateTimeOffset
>
)
Cast the value of this
XAttribute
to a
Nullable
<
T
>
of
DateTimeOffset
.
Explicit
(XAttribute to TimeSpan)
Cast the value of this
XAttribute
to a
TimeSpan
.
Explicit
(XAttribute to Double)
Cast the value of this
XAttribute
to a
Double
.
Explicit
(XAttribute to Int32)
Cast the value of this
XAttribute
to an
Int32
.
Explicit
(XAttribute to Nullable
<
Int32
>
)
Cast the value of this
XAttribute
to a
Nullable
<
T
>
of
Int32
.
Explicit
(XAttribute to UInt32)
Cast the value of this
XAttribute
to a
UInt32
.
Explicit
(XAttribute to String)
Cast the value of this
XAttribute
to a
String
.
Explicit
(XAttribute to Boolean)
Cast the value of this
XAttribute
to a
Boolean
.
Explicit
(XAttribute to Nullable
<
Boolean
>
)
Cast the value of this
XAttribute
to a
Nullable
<
T
>
of
Boolean
.
Explicit
(XAttribute to Nullable
<
UInt32
>
)
Cast the value of this
XAttribute
to a
Nullable
<
T
>
of
UInt32
.
Explicit
(XAttribute to Nullable
<
UInt64
>
)
Cast the value of this
XAttribute
to a
Nullable
<
T
>
of
UInt64
.
Explicit
(XAttribute to Single)
Cast the value of this
XAttribute
to a
Single
.
Explicit
(XAttribute to Nullable
<
Single
>
)
Cast the value of this
XAttribute
to a
Nullable
<
T
>
of
Single
.
Explicit
(XAttribute to Int64)
Cast the value of this
XAttribute
to an
Int64
.
Explicit
(XAttribute to Nullable
<
Int64
>
)
Cast the value of this
XAttribute
to a
Nullable
<
T
>
of
Int64
.
Explicit
(XAttribute to UInt64)
Cast the value of this
XAttribute
to a
UInt64
.
Top
See Also
Reference
XAttribute Class
System.Xml.Linq Namespace
Did you find this helpful?
Yes
No
Not accurate
Not enough depth
Need more code examples
Tell us more...
(
1500
characters remaining)