XamlSchemaContext.GetXamlDirective Method (String, String)

.NET Framework (current version)
 

Returns a XamlDirective value that represents a directive, either for the XAML language or for a particular implementation.

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

public virtual XamlDirective GetXamlDirective(
	string xamlNamespace,
	string name
)

Parameters

xamlNamespace
Type: System.String

The XAML namespace that contains the named directive.

name
Type: System.String

The name of the directive to obtain.

Return Value

Type: System.Xaml.XamlDirective

A XamlDirective object that represents the requested directive.

Exception Condition
ArgumentNullException

xamlNamespace or name is null.

Override this method if you create a derived class from XamlDirective as part of a XAML type system extension scenario.

.NET Framework
Available since 4.0
Return to top
Show: