Implemented interface member:
method
GetValue
System.Runtime.InteropServices._PropertyInfo.GetValue(System.Object, System.Object[])
4 overrides of GetValue
mscorlib (2)
system\reflection\emit\propertybuilder.cs (1)
181public override Object GetValue(Object obj,Object[] index)
system\reflection\propertyinfo.cs (1)
616public override Object GetValue(Object obj,Object[] index)
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1834public override object GetValue(object obj, object[] index) { return _info.GetValue(obj, index); }
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1834public override object GetValue(object obj, object[] index) { return _info.GetValue(obj, index); }
166 references to GetValue
mscorlib (1)
system\reflection\propertyinfo.cs (1)
104return GetValue(obj, null);
PresentationCore (1)
Core\CSharp\System\Windows\Input\CursorConverter.cs (1)
76list1.Add(info1.GetValue(null, objArray1));
PresentationFramework (11)
src\Framework\MS\Internal\Data\IndexedEnumerable.cs (3)
560value = (int) _reflectedCount.GetValue(Enumerable, null); 593isEmpty = ((int)_reflectedCount.GetValue(Enumerable, null) == 0); 659value = _reflectedItemAt.GetValue(Enumerable, new object[] { index });
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
247value = pi.GetValue(item, null);
src\Framework\MS\Internal\LayoutDump.cs (4)
911Visual visual = (Visual)prop.GetValue(paraClient, null); 939int count = (int)prop.GetValue(element, null); 972int columnIndex = (int)propOfColumnIndex.GetValue(cell, null); 980int rowIndex = (int)propOfRowIndex.GetValue(cell, null);
src\Framework\MS\Internal\SystemDataHelper.cs (1)
85return nullProperty.GetValue(null, null);
src\Framework\System\Windows\Input\Command\CommandConverter.cs (1)
153command = propertyInfo.GetValue(null, null) as ICommand;
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
2044xmlSerializable = pi.GetValue(parent, null) as IXmlSerializable;
System (1)
compmod\system\componentmodel\design\serialization\InstanceDescriptor.cs (1)
144return ((PropertyInfo)member).GetValue(null, translatedArguments);
System.Activities (4)
System\Activities\Expressions\PropertyReference.cs (1)
147return (T)this.propertyInfo.GetValue(this.owner, null);
System\Activities\Expressions\ValueTypePropertyReference.cs (1)
145return (TResult)this.propertyInfo.GetValue(this.ownerLocation.Value, null);
System\Activities\ExpressionUtilities.cs (2)
816return (T)this.propertyInfo.GetValue(this.owner, null); 1605return propertyInfo.GetValue(owner, null);
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowchartDesigner.Container.cs (1)
534propertyInfo.SetValue(clonedObject, propertyInfo.GetValue(flowElement, null), null);
System.Activities.Presentation (11)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\XamlObjectReaderWithSequence.cs (1)
136object realObject = property.GetValue(parent, null);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1834public override object GetValue(object obj, object[] index) { return _info.GetValue(obj, index); }
System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (2)
58object literalValue = literalValueProperty.GetValue(expression, null); 79Variable variable = variableProperty.GetValue(expression, null) as Variable;
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (5)
1058return (this.isDictionary ? ((IDictionary)instance).IsReadOnly : (bool)this.isReadOnlyProperty.GetValue(this.instance, null)); 1066return (this.isDictionary ? ((IDictionary)instance).Count : (int)this.countProperty.GetValue(this.instance, null)); 1081return this.indexingProperty.GetValue(this.instance, new object[] { key }); 1105return this.keyProperty.GetValue(keyValuePair, null); 1117return this.valueProperty.GetValue(keyValuePair, null);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (1)
469object propertyValue = property.GetValue(computedValue, null);
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
552return parentPropertyInfo.GetValue(childActivity, null) as Activity;
System.ComponentModel.DataAnnotations (3)
DataAnnotations\CompareAttribute.cs (1)
44object otherPropertyValue = otherPropertyInfo.GetValue(validationContext.ObjectInstance, null);
DataAnnotations\LocalizableString.cs (1)
143this._cachedResult = () => (string)property.GetValue(null, null);
DataAnnotations\ValidationAttribute.cs (1)
268return (string)property.GetValue(null, null);
System.Configuration (3)
System\Configuration\ConfigurationElement.cs (3)
761ConfigurationElementCollection coll = propertyInformation.GetValue(instance, null) as ConfigurationElementCollection; 780object element = propertyInformation.GetValue(instance, null); 977tw.WriteLine("{0}: {1}", pi.Name, pi.GetValue(this, null));
System.Data (11)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\XamlObjectReaderWithSequence.cs (1)
136object realObject = property.GetValue(parent, null);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1834public override object GetValue(object obj, object[] index) { return _info.GetValue(obj, index); }
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (5)
1058return (this.isDictionary ? ((IDictionary)instance).IsReadOnly : (bool)this.isReadOnlyProperty.GetValue(this.instance, null)); 1066return (this.isDictionary ? ((IDictionary)instance).Count : (int)this.countProperty.GetValue(this.instance, null)); 1081return this.indexingProperty.GetValue(this.instance, new object[] { key }); 1105return this.keyProperty.GetValue(keyValuePair, null); 1117return this.valueProperty.GetValue(keyValuePair, null);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (1)
469object propertyValue = property.GetValue(computedValue, null);
fx\src\data\System\Data\Common\SQLTypes\SqlUDTStorage.cs (1)
48value = propInfo.GetValue(null, null);
fx\src\data\System\Data\DataColumn.cs (1)
678defaultValue = propInfo.GetValue(null, null);
fx\src\data\System\Data\Sql\sqlnorm.cs (1)
115this.NullInstance = pi.GetValue(null, null);
System.Data.Entity (13)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (1)
1828foundValues.Add(new KeyValuePair<string, TRequired>(pi.Name, (TRequired)pi.GetValue(instance, null)));
System\Data\Metadata\Edm\MetadataPropertyvalue.cs (1)
39return _propertyInfo.GetValue(_item, new object[] { });
System\Data\Objects\ELinq\Funcletizer.cs (1)
738memberValue = ((PropertyInfo)me.Member).GetValue(instance, null);
System\Data\SqlClient\SqlSpatialServices.Generated.cs (10)
173object result = ipi_SqlGeography_STSrid.Value.GetValue(sqlGeographyValue, null); 325object result = ipi_SqlGeography_Lat.Value.GetValue(sqlGeographyValue, null); 333object result = ipi_SqlGeography_Long.Value.GetValue(sqlGeographyValue, null); 341object result = ipi_SqlGeography_Z.Value.GetValue(sqlGeographyValue, null); 349object result = ipi_SqlGeography_M.Value.GetValue(sqlGeographyValue, null); 553object result = ipi_SqlGeometry_STSrid.Value.GetValue(sqlGeometryValue, null); 799object result = ipi_SqlGeometry_STX.Value.GetValue(sqlGeometryValue, null); 807object result = ipi_SqlGeometry_STY.Value.GetValue(sqlGeometryValue, null); 815object result = ipi_SqlGeometry_Z.Value.GetValue(sqlGeometryValue, null); 823object result = ipi_SqlGeometry_M.Value.GetValue(sqlGeometryValue, null);
System.Data.Entity.Design (3)
System\Data\Entity\Design\EntityCodeGenerator.cs (2)
623get { return (CompilerErrorCollection)_errors.GetValue(_instance, null); } 638return (String)_sourceCsdlPath.GetValue(_instance, null);
System\Data\EntityModel\Emitters\CommentEmitter.cs (1)
79value = pi.GetValue(item, null);
System.Data.Linq (4)
SortableBindingList.cs (1)
73comparer = (IComparer)defaultComparer.GetValue(null, null);
SqlClient\Query\SqlBinder.cs (1)
920return sql.Value(m.ClrType, m.SqlType, p.GetValue(val.Value, null), val.IsClientSpecified, m.SourceExpression);
SqlClient\SqlProvider.cs (2)
1160prec = (int)Convert.ChangeType(piPrecision.GetValue(p, null), typeof(int), CultureInfo.InvariantCulture); 1164scale = (int)Convert.ChangeType(piScale.GetValue(p, null), typeof(int), CultureInfo.InvariantCulture);
System.Data.Services.Client (1)
parent\Server\System\Data\Services\Providers\EntityPropertyMappingInfo.cs (1)
156pi.GetValue(element, null),
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\CommentEmitter.cs (1)
72value = pi.GetValue(item, null);
System.Drawing (5)
commonui\System\Drawing\Advanced\ImageFormatConverter.cs (4)
77return prop.GetValue(null, tempIndex); 103if (p.GetValue(null, null).Equals(value)) { 144Debug.Assert(prop.GetValue(null, tempIndex) != null, "Property " + prop.Name + " returned NULL"); 145list.Add(prop.GetValue(null, tempIndex));
commonui\System\Drawing\ColorConverter.cs (1)
345hash[prop.Name] = prop.GetValue(null, tempIndex);
System.ServiceModel (13)
System\ServiceModel\Activation\SystemWebHelper.cs (9)
83if (((bool)rolesEnabledPropertyInfo.GetValue(null, null)) == true) 87result = rolesProviderPropertyInfo.GetValue(null, null) as RoleProvider; 126object roleProviderCollection = roleProvidersPropertyInfo.GetValue(null, null); 131return (RoleProvider)itemPropertyInfo.GetValue(roleProviderCollection, new object[] { roleProviderName }); 159return (MembershipProvider)membershipProviderPropertyInfo.GetValue(null, null); 188object membershipProviderCollection = membershipProvidersPropertyInfo.GetValue(null, null); 193return (MembershipProvider)itemPropertyInfo.GetValue(membershipProviderCollection, new object[] { membershipProviderName }); 226(int)GetSystemWebType("System.Web.Configuration.WebApplicationLevel").GetProperty("AboveApplication").GetValue(null, null) == webApplicationLevelAboveApplication, 232return (int)applicationLevelPropertyInfo.GetValue(configHostingContext, null) == webApplicationLevelAboveApplication;
System\ServiceModel\Description\OperationGenerator.cs (2)
1019object propertyValue = property.GetValue(attribute, null); 1020object defaultValue = property.GetValue(defaultAttribute, null);
System\ServiceModel\Dispatcher\OperationFormatter.cs (1)
593return ((PropertyInfo)members[index]).GetValue(instance, null);
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
303bodyPartValues[i++] = property.GetValue(bodyObject, null);
System.Web (10)
Compilation\CompilationUtil.cs (1)
555return (IDictionary<string, string>)pi.GetValue(ci, null);
ModelBinding\CollectionModelBinderUtil.cs (1)
111bool collectionInstanceIsReadOnly = (bool)closedCollectionType.GetProperty("IsReadOnly").GetValue(modelMetadata.Model, null);
ModelBinding\DataAnnotationsModelMetadata.cs (1)
23object simpleDisplayTextValue = displayColumnProperty.GetValue(Model, new object[0]);
parent\DataAnnotations\DataAnnotations\LocalizableString.cs (1)
143this._cachedResult = () => (string)property.GetValue(null, null);
UI\DataBinder.cs (2)
279prop = propInfo.GetValue(collectionProp, new object[] { indexValue }); 350return propInfo.GetValue(container, null);
UI\Page.cs (1)
6385object supportsPartialRenderingValue = supportsPartialRenderingProperty.GetValue(scriptManager, null);
UI\WebControls\ModelDataSourceView.cs (1)
315object value = propInfo.GetValue(o, null);
Util\ExecutionContextUtil.cs (1)
30return (ExecutionContext) propInfo.GetValue(null, null);
Util\FastPropertyAccessor.cs (1)
389return propInfo.GetValue(target, null);
System.Web.DataVisualization (14)
Common\Converters\AxisConverters.cs (3)
80 intervalType = (DateTimeIntervalType)propertyInfo.GetValue(context.Instance, null); 87 interval = (double)propertyInfo.GetValue(context.Instance, null); 156 intervalType = (DateTimeIntervalType)propertyInfo.GetValue(context.Instance, null);
Common\Utilities\XmlSerializer.cs (11)
414 ((IList)pi.GetValue(objectToReset, null)).Clear(); 420 foreach(object listObject in ((IList)pi.GetValue(objectToReset, null))) 452 object objectProperty = pi.GetValue(objectToReset, null); 485 ResetObjectProperties(pi.GetValue(objectToReset, null), objectToReset, pi.Name); 804objByName = pi.GetValue(list, new object[] { itemName }); 1564 SerializeCollection(pi.GetValue(objectToSerialize, null), pi.Name, xmlNode, xmlDocument); 1581 SerializeProperty(pi.GetValue(objectToSerialize, null), objectToSerialize, pi.Name, xmlNode, xmlDocument); 1586 SerializeObject(pi.GetValue(objectToSerialize, null), objectToSerialize, pi.Name, xmlNode, xmlDocument); 2415 SerializeCollection(pi.GetValue(objectToSerialize, null), pi.Name, writer); 2434SerializeProperty(pi.GetValue(objectToSerialize, null), objectToSerialize, pi.Name, writer); 2439SerializeObject(pi.GetValue(objectToSerialize, null), objectToSerialize, pi.Name, writer);
System.Web.DynamicData (1)
DynamicData\ModelProviders\DLinqTableProvider.cs (1)
74return (IQueryable)_prop.GetValue(context, null);
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceMemberPath.cs (1)
118object propertyValue = this.propertyInfo.GetValue(parentObjectValue, new object[] { });
System.Web.Extensions (5)
Compilation\WCFModel\SchemaMerger.cs (3)
226object originalValue = property.GetValue(originalItem, new object[] { }); 227object newValue = property.GetValue(item, new object[] { }); 558object nameValue = nameProperty.GetValue(item, new object[] { });
UI\WebControls\Dynamic.cs (1)
134sb.Append(props[i].GetValue(this, null));
UI\WebControls\LinqDataSourceView.cs (1)
382contextData.EntitySet = property.GetValue(contextData.Context, null);
System.Web.Services (1)
System\Web\Services\Protocols\Scalars.cs (1)
308return ((PropertyInfo)memberInfo).GetValue(target, emptyObjectArray);
System.Windows.Forms (5)
winforms\Managed\System\WinForms\CursorConverter.cs (5)
69return prop.GetValue(null, tempIndex); 102Cursor c = (Cursor)prop.GetValue(null, tempIndex); 128if (prop.GetValue(null, null) == value) { 171Debug.Assert(prop.GetValue(null, tempIndex) != null, "Property " + prop.Name + " returned NULL"); 172list.Add(prop.GetValue(null, tempIndex));
System.Windows.Forms.DataVisualization (14)
Common\Converters\AxisConverters.cs (3)
80 intervalType = (DateTimeIntervalType)propertyInfo.GetValue(context.Instance, null); 87 interval = (double)propertyInfo.GetValue(context.Instance, null); 156 intervalType = (DateTimeIntervalType)propertyInfo.GetValue(context.Instance, null);
Common\Utilities\XmlSerializer.cs (11)
414 ((IList)pi.GetValue(objectToReset, null)).Clear(); 420 foreach(object listObject in ((IList)pi.GetValue(objectToReset, null))) 452 object objectProperty = pi.GetValue(objectToReset, null); 485 ResetObjectProperties(pi.GetValue(objectToReset, null), objectToReset, pi.Name); 804objByName = pi.GetValue(list, new object[] { itemName }); 1564 SerializeCollection(pi.GetValue(objectToSerialize, null), pi.Name, xmlNode, xmlDocument); 1581 SerializeProperty(pi.GetValue(objectToSerialize, null), objectToSerialize, pi.Name, xmlNode, xmlDocument); 1586 SerializeObject(pi.GetValue(objectToSerialize, null), objectToSerialize, pi.Name, xmlNode, xmlDocument); 2415 SerializeCollection(pi.GetValue(objectToSerialize, null), pi.Name, writer); 2434SerializeProperty(pi.GetValue(objectToSerialize, null), objectToSerialize, pi.Name, writer); 2439SerializeObject(pi.GetValue(objectToSerialize, null), objectToSerialize, pi.Name, writer);
System.Workflow.Activities (2)
Common\Walker.cs (1)
218propValue = prop.CanRead ? prop.GetValue(obj, null) : null;
Rules\Executor.cs (1)
123return propertyInfo.GetValue(targetObject, indexerArguments);
System.Workflow.ComponentModel (23)
AuthoringOM\Bind.cs (5)
135targetObject = (eventArgs.MemberInfo as PropertyInfo).GetValue(targetObject, null); 146targetObject = (eventArgs.MemberInfo as PropertyInfo).GetValue(targetObject, eventArgs.IndexParameters); 219obj = (eventArgs.MemberInfo as PropertyInfo).GetValue(parentObj, null); 225obj = (eventArgs.MemberInfo as PropertyInfo).GetValue(parentObj, eventArgs.IndexParameters); 1096value = (eventArgs.MemberInfo as PropertyInfo).GetValue(value, null);
AuthoringOM\Design\WorkflowInlining.cs (1)
429WorkflowParameterBindingCollection bindings = parameterProperty.GetValue(Activity, null) as WorkflowParameterBindingCollection;
AuthoringOM\Serializer\DictionarySurrogate.cs (2)
28ArrayList keys = new ArrayList(keysProperty.GetValue(obj, null) as ICollection); 34ArrayList values = new ArrayList(valuesProperty.GetValue(obj, null) as ICollection);
AuthoringOM\Serializer\MarkupExtensionSerializer.cs (2)
105if (Helpers.GetSerializationVisibility(serializableProperty) != DesignerSerializationVisibility.Hidden && serializableProperty.CanRead && serializableProperty.GetValue(value, null) != null) 126object propValue = serializableProperty.GetValue(value, null);
AuthoringOM\Serializer\ModifyActivitiesPropertyDescriptor.cs (1)
46return this.propInfo.GetValue(component, null);
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (11)
792propertyValue = property.GetValue(obj, null); 967propertyValue = property.CanRead ? property.GetValue(obj, null) : null; 1431return extendedProperty.RealPropertyInfo.GetValue(extendee, null); 1513propValue = (obj1 as PropertyInfo).GetValue(dependencyObject, null); 1630ICollection<string> propVal = pi.GetValue(obj, null) as ICollection<string>; 1825propValue = property.CanRead ? property.GetValue(obj, null) : null; 2023ICollection<string> propVal = property.GetValue(obj, null) as ICollection<string>; 2901contentPropertyValue = this.contentProperty.GetValue(this.parentObject, null); 2955object contentPropertyValue = this.contentProperty.GetValue(this.parentObject, null); 2978value = this.contentProperty.GetValue(this.parentObject, null); 3007object propertyValue = this.contentProperty.GetValue(this.parentObject, null);
Shared\Walker.cs (1)
217propValue = prop.CanRead ? prop.GetValue(obj, null) : null;
System.Workflow.Runtime (3)
System\Activities\Statements\InteropExecutor.cs (1)
513this.outputs.Add(property.Name + Interop.OutArgumentSuffix, property.GetValue(this.rootActivity, null));
Tracking\PropertyHelper.cs (1)
211data.Data = GetRuntimeValue(p.GetValue(activity, null), activity);
WorkflowRuntime.cs (1)
1273args.OutputParameters.Add(property.Name, property.GetValue(exec.RootActivity, null));