This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetSchema Interface > INetSchema.WeightByName Property (ArcObjects .NET 10.4 SDK) |
Network weight corresponding to the specified name.
[Visual Basic .NET] Public Function get_WeightByName ( _ ByVal WeightName As String _ ) As INetWeight
[C#] public INetWeight get_WeightByName ( string WeightName );
[C++]
HRESULT get_WeightByName(
BSTR WeightName,
INetWeight** networkWeight
);
[C++]
Parameters WeightName [in] WeightName is a parameter of type BSTR networkWeight [out, retval]
networkWeight is a parameter of type INetWeight
WeightByName returns the INetWeight object identified by the input string value.
If the weight name specified cannot be found, then a Null pointer is returned.