IReference<T> class
winrt
Interface
Enables arbitrary enumerations, structures, and delegate types to be used as property values.
- Inheritance
-
- Object
- IUnknown
- IInspectable
- IReference
- Available extensions
Constructors
-
IReference.fromRawPointer(Pointer<
COMObject> ptr, {required String referenceIid, T enumCreator(int)?}) -
Creates an instance of IReference using the given
ptr
andreferenceIid
.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
iids
→ List<
String> -
Available on IInspectable, provided by the IInspectableExtension extension
Returns the interface IIDs that are implemented by the current Windows Runtime class.no setter -
ptr
↔ Pointer<
COMObject> -
getter/setter pairinherited
- runtimeClassName → String
-
Available on IInspectable, provided by the IInspectableExtension extension
Gets the fully qualified name of the current Windows Runtime object.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trustLevel → TrustLevel
-
Available on IInspectable, provided by the IInspectableExtension extension
Gets the trust level of the current Windows Runtime object.no setter - value → T?
-
Gets the type that is represented as an `IPropertyValue``.
no setter
Methods
-
addRef(
) → int -
inherited
-
getBoolean(
) → bool -
getChar16(
) → int -
getDateTime(
) → DateTime -
getDouble(
) → double -
getGuid(
) → Guid -
getIids(
Pointer< Uint32> iidCount, Pointer<Pointer< iids) → intGUID> > -
inherited
-
getInt16(
) → int -
getInt32(
) → int -
getInt64(
) → int -
getPoint(
) → Point -
getRect(
) → Rect -
getRuntimeClassName(
Pointer< IntPtr> className) → int -
inherited
-
getSingle(
) → double -
getSize(
) → Size -
getString(
) → String -
getTimeSpan(
) → Duration -
getTrustLevel(
Pointer< Int32> trustLevel) → int -
inherited
-
getUInt16(
) → int -
getUInt32(
) → int -
getUInt64(
) → int -
getUInt8(
) → int -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryInterface(
Pointer< GUID> riid, Pointer<Pointer< ppvObject) → intNativeType> > -
inherited
-
release(
) → int -
inherited
-
toInterface(
String iid) → Pointer< COMObject> -
Cast an existing COM object to a specified interface.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited