Share via


PropertyIdentifier Structure

Represents a property, 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 PropertyIdentifier _
    Implements IEquatable(Of PropertyIdentifier)
public struct PropertyIdentifier : IEquatable<PropertyIdentifier>
public value class PropertyIdentifier : IEquatable<PropertyIdentifier>
[<Sealed>]
type PropertyIdentifier =  
    struct
        interface IEquatable<PropertyIdentifier>
    end
JScript supports the use of structures, but not the declaration of new ones.

The PropertyIdentifier type exposes the following members.

Constructors

  Name Description
Public method PropertyIdentifier(Type, String) Initializes a new instance of the PropertyIdentifier class with the specified existing type and property name.
Public method PropertyIdentifier(TypeIdentifier, String) Initializes a new instance of the PropertyIdentifier class with the specified existing type identifier and property name.

Top

Properties

  Name Description
Public property DeclaringType Gets the type that declares this property, if it was set in the constructor.
Public property DeclaringTypeIdentifier Gets the type identifier for the type that declares the property.
Public property FullName Gets the type-qualified name of the property.
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 property.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current PropertyIdentifier. (Overrides ValueType.Equals(Object).)
Public method Equals(PropertyIdentifier) Determines whether the specified PropertyIdentifier is equal to the current PropertyIdentifier.
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 PropertyIdentifier 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 FullName property as a string. (Overrides ValueType.ToString().)

Top

Operators

  Name Description
Public operatorStatic member Equality Determines whether the specified PropertyIdentifier instances are considered equal.
Public operatorStatic member Inequality Determines whether the specified PropertyIdentifier 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