영어로 읽기 편집

다음을 통해 공유


XamlLanguage Class

Definition

Defines constants that provide strings or objects that are useful for XAML markup or for programming with XAML types. These strings or objects are relevant to XAML language concepts, to the implementation of XAML language concepts in .NET XAML Services, or to both.

public static class XamlLanguage
Inheritance
XamlLanguage

Remarks

The XamlLanguage API returns lookup results that are based on a XAML schema context that remains internal. In this schema context, SupportMarkupExtensionsWithDuplicateArity is true. Otherwise, the XAML schema context that is reported as the default for .NET Framework XAML Services and its defined XAML readers and XAML writers uses default settings. Overall, the XAML schema context that is used for predefined XAML readers and XAML writers is based on the same XamlSchemaContext instance that is available from APIs that set or return a XamlSchemaContext. The default XAML schema context for .NET Framework XAML Services is based on CLR concepts and reflection. Evidence of the default CLR backing can be found when obtaining certain XamlLanguage properties that are a XamlType and when checking UnderlyingType. Similarly, XamlLanguage properties that are a XamlMember have CLR reflection-based values for UnderlyingMember.

Fields

Xaml2006Namespace

Gets a string value for the string that identifies the XAML (2006) language namespace. That namespace corresponds to the XAML (2006) "x" prefixed namespace as defined in [MS-XAML] Section 5.1.1.

Xml1998Namespace

Gets a string value for the string that identifies the XML (1998) language namespace. That namespace corresponds to the XML "xml" prefixed namespace as referenced in [MS-XAML] Section 5.1.2.

Properties

AllDirectives

Gets a read-only generic collection of each XamlDirective identifier that is defined by .NET XAML Services.

AllTypes

Gets a read-only generic collection of individual XamlType values that match, or alias, a XAML language intrinsic that is defined by .NET XAML Services.

Arguments

Gets a XamlDirective for the Arguments of a factory method or a generic usage.

Array

Gets a XamlType for the Array XAML language intrinsic.

AsyncRecords

Gets a XamlDirective for the AsyncRecords pseudomember.

Base

Gets a XamlDirective for the base directive from XML.

Boolean

Gets a XamlType for the Boolean XAML language intrinsic.

Byte

Gets a XamlType for the Byte XAML language intrinsic.

Char

Gets a XamlType for the Char XAML language intrinsic.

Class

Gets a XamlDirective for the Class directive from XAML.

ClassAttributes

Gets a XamlDirective for the ClassAttributes directive from XAML.

ClassModifier

Gets a XamlDirective for the ClassModifier directive from XAML.

Code

Gets a XamlDirective for Code as detailed in [MS-XAML].

ConnectionId

Gets a XamlDirective that identifies a connection point for wiring events to handlers.

Decimal

Gets a XamlType for the Decimal XAML language intrinsic.

Double

Gets a XamlType for the Double XAML language intrinsic.

FactoryMethod

Gets a XamlDirective that identifies a factory method for XAML.

FieldModifier

Gets a XamlDirective for the FieldModifier directive from XAML.

Initialization

Gets a XamlDirective for the Initialization directive from XAML.

Int16

Gets a XamlType for the Int16 XAML language intrinsic.

Int32

Gets a XamlType for the Int32 XAML language intrinsic.

Int64

Gets a XamlType for the Int64 XAML language intrinsic.

Items

Gets a XamlDirective for the Items directive from XAML.

Key

Gets a XamlDirective for the Key directive from XAML.

Lang

Gets a XamlDirective for the lang directive from XML.

Member

Gets a XamlType for the type that is the item type of Members.

Members

Gets a XamlDirective for the Members concept in XAML.

Name

Gets a XamlDirective for the Name directive from XAML.

Null

Gets a XamlType for the Null or NullExtension XAML language intrinsic.

Object

Gets a XamlType for the Object XAML language concept.

PositionalParameters

Gets a XamlDirective for the PositionalParameters directive from XAML.

Property

Gets a XamlType for the Property concept in XAML.

Reference

Gets a XamlType that represents a Reference for XAML.

Shared

Gets a XamlDirective for the Shared directive for XAML.

Single

Gets a XamlType for the Single XAML language intrinsic.

Space

Gets a XamlDirective for the space directive from XML.

Static

Gets a XamlType for the Static/StaticExtension XAML language intrinsic.

String

Gets a XamlType for the String XAML language intrinsic.

Subclass

Gets a XamlDirective for the Subclass directive from XAML.

SynchronousMode

Gets a XamlDirective that enables loading XAML asynchronously if the XAML processor supports such a mode.

TimeSpan

Gets a XamlType for the TimeSpan concept in XAML language.

Type

Gets a XamlType for the Type/TypeExtension XAML language intrinsic.

TypeArguments

Gets a XamlDirective for the TypeArguments directive from XAML.

Uid

Gets a XamlDirective for the Uid directive from XAML.

UnknownContent

Gets a XamlDirective for the UnknownContent directive from XAML.

Uri

Gets a XamlType for the Uri XAML language concept.

XamlNamespaces

Gets a collection of the namespace identifiers for XAML.

XData

Gets a XamlType for the XAML type that backs an XData block in XAML.

XmlNamespaces

Gets a collection of the namespace identifiers for XML.

Applies to

제품 버전
.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