Struct UnmanagedProperty<TContainer, TValue>
Syntax
public struct UnmanagedProperty<TContainer, TValue> : IUnmanagedProperty, IProperty<TContainer, TValue>, IProperty where TContainer : struct where TValue : struct
Type Parameters
Name |
Description |
TContainer |
|
TValue |
|
Constructors
UnmanagedProperty(String, Int32, Boolean, IPropertyAttributeCollection)
Declaration
public UnmanagedProperty(string name, int offset, bool readOnly = false, IPropertyAttributeCollection attributes = null)
Parameters
Properties
Attributes
Declaration
public IPropertyAttributeCollection Attributes { get; }
Property Value
Implements
IsContainer
Declaration
public bool IsContainer { get; }
Property Value
Implements
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
Implements
Offset
Declaration
public int Offset { get; }
Property Value
Implements
Methods
GetName()
Declaration
Returns
Implements
GetValue(ref TContainer)
Declaration
public TValue GetValue(ref TContainer container)
Parameters
Type |
Name |
Description |
TContainer |
container |
|
Returns
Implements
SetValue(ref TContainer, TValue)
Declaration
public void SetValue(ref TContainer container, TValue value)
Parameters
Type |
Name |
Description |
TContainer |
container |
|
TValue |
value |
|
Implements