Class PropertyLoadOption
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
Specifies which properties to load.
Inheritance
Namespace: Stylelabs.M.Framework.Essentials.LoadOptions
Assembly: Stylelabs.M.Sdk.dll
Syntax
Constructors
PropertyLoadOption()
Creates an empty property load option. Defaults to None.
Declaration
PropertyLoadOption(IEnumerable<String>)
Creates a property load option that loads specified properties.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<System.String> | propertyNames |
Property names. |
PropertyLoadOption(LoadOption)
Creates a property load option with specified load option.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| LoadOption | loadOption |
PropertyLoadOption(String[])
Creates a property load option that loads specified properties.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| System.String[] | propertyNames |
Property names. |
Properties
All
Loads all properties.
Declaration
Property Value
| Type | Description |
|---|---|
| IPropertyLoadOption |
LoadOption
Gets the load option.
Declaration
Property Value
| Type | Description |
|---|---|
| LoadOption |
None
Loads no properties.
Declaration
Property Value
| Type | Description |
|---|---|
| IPropertyLoadOption |
Properties
Gets a list of property names (case insensitive) that need to be loaded. This is only useful when LoadOption is Custom.
Declaration
Property Value
| Type | Description |
|---|---|
| System.String[] |
Methods
DeepClone()
Creates a deep clone of this instance.
Declaration
Returns
| Type | Description |
|---|---|
| IPropertyLoadOption |
DeepEquals(IPropertyLoadOption)
Checks if this instance of IPropertyLoadOption is equal to other.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IPropertyLoadOption | other |
Returns
| Type | Description |
|---|---|
| System.Boolean |
langword_csharp_True if the instances are equal; otherwise langword_csharp_False. |