This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Catalog > ESRI.ArcGIS.Catalog > Interfaces > IG > IGxObjectFilter Interface > IGxObjectFilter.CanSaveObject Method (ArcObjects .NET 10.4 SDK) |
Indicates if a new object named newObjectName could be saved in the specified location. If objectAlreadyExists is set to True, a confirmation dialog will appear asking if the existing object should be replaced.
[Visual Basic .NET] Public Function CanSaveObject ( _ ByVal Location As IGxObject, _ ByVal newObjectName As String, _ ByRef objectAlreadyExists As Boolean _ ) As Boolean
[C#] public bool CanSaveObject ( IGxObject Location, string newObjectName, ref bool objectAlreadyExists );