[]
Determines whether a named style has been saved for the specified element type.
public static bool ContainsValue(Type type, string name)
| Type | Name | Description |
|---|---|---|
| Type | type | The element type whose saved styles are searched (only the type name is used). |
| string | name | The style name to look for. |
| Type | Description |
|---|---|
| bool | true if a style with the given name exists for the type; otherwise, false. |
Determines whether internal inverse hashes contain the specified object and returns its name if it does
public static bool ContainsValue(string typeName, object theObj, out string name)
| Type | Name | Description |
|---|---|---|
| string | typeName | |
| object | theObj | |
| string | name |
| Type | Description |
|---|---|
| bool |