Share via


TypeIdentifier Structure

Identifies a type, which is independent of the platform.

Namespace:  Microsoft.Windows.Design.Metadata
Assembly:  Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)

Syntax

'Declaration
Public Structure TypeIdentifier _
    Implements IEquatable(Of TypeIdentifier)
public struct TypeIdentifier : IEquatable<TypeIdentifier>
public value class TypeIdentifier : IEquatable<TypeIdentifier>
[<Sealed>]
type TypeIdentifier =  
    struct
        interface IEquatable<TypeIdentifier>
    end
JScript supports the use of structures, but not the declaration of new ones.

The TypeIdentifier type exposes the following members.

Constructors

  Name Description
Public method TypeIdentifier(String) Initializes a new instance of the TypeIdentifier class.
Public method TypeIdentifier(String, String) Initializes a new instance of the TypeIdentifier class with the specified XML namespace and type name.

Top

Properties

  Name Description
Public property IsEmpty Gets a value that indicates whether the current identifier was created by using an empty constructor.
Public property Name Gets the name of the type.
Public property XmlNamespace Gets the XML namespace of this type.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current TypeIdentifier. (Overrides ValueType.Equals(Object).)
Public method Equals(TypeIdentifier) Determines whether the specified TypeIdentifier is equal to the current TypeIdentifier.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for the current TypeIdentifier instance. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Gets the Name property as a string. (Overrides ValueType.ToString().)

Top

Operators

  Name Description
Public operatorStatic member Equality Determines whether the specified TypeIdentifier instances are considered equal.
Public operatorStatic member Inequality Determines whether the specified TypeIdentifier instances are considered not equal.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Windows.Design.Metadata Namespace